[gnomefr-web/oscp] Go with a relative path instead



commit 613ad3a95ad95c9d17cc2c90c3fd0d73cb61e337
Author: Andrea Veri <averi redhat com>
Date:   Fri Aug 23 14:25:34 2019 +0200

    Go with a relative path instead

 Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index 920e17f..74ff971 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,11 +6,11 @@ ENV SITE_ROOT=/opt/app-root/src \
     REPO=https://gitlab.gnome.org/Infrastructure/gnomefr-web.git
 
 COPY app_data ${SITE_ROOT}
+RUN yum install git automake autoconf wget -y
 RUN mkdir ${SITE_ROOT}/html ${SITE_ROOT}/src && \
-    yum install git automake autoconf wget -y && \
     git clone ${REPO} ${SITE_ROOT}/src && \
     cd ${SITE_ROOT}/src && \
-    ${SITE_ROOT}/src/autogen.sh --prefix=$SITE_ROOT/html && make && make install && \
+    ./autogen.sh --prefix=${SITE_ROOT}/html && make && make install && \
     chown -R 1000470000:1000470000 /opt/app-root/src
 
 EXPOSE 8080


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