[gimp-web/oscp] Support a hugo build for testing.developer.gimp.org



commit ee28f0f6bac70e9c82731d372a664443bd1fa7e6
Author: Robin Swift <robinswiftart gmail com>
Date:   Tue Aug 2 22:52:54 2022 +0000

    Support a hugo build for testing.developer.gimp.org

 testing.developer.gimp.org/Dockerfile | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/testing.developer.gimp.org/Dockerfile b/testing.developer.gimp.org/Dockerfile
index f529ae7b..ba16a691 100644
--- a/testing.developer.gimp.org/Dockerfile
+++ b/testing.developer.gimp.org/Dockerfile
@@ -1,9 +1,14 @@
-FROM debian:testing
+FROM debian:unstable
 USER root
 
-RUN mkdir html && \
-    cd html    && \
-    echo "Hello World" > index.html
+RUN apt update
+RUN apt install -y git-core hugo make
+
+RUN git clone --depth 1 --branch hugo https://gitlab.gnome.org/Infrastructure/gimp-web-devel && \
+    cd gimp-web-devel && \
+    make
+
+# /gimp-web-devel/public/ now contains the build of the site.
 
 FROM registry.access.redhat.com/ubi9/httpd-24
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]