[survey-web/oscp] Switch to internal mirror



commit f4468fca83111a35e7219361208057e367895509
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Mon Jul 6 16:01:14 2020 +0200

    Switch to internal mirror

 docker/Dockerfile | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 6f262cd0..3b41e09e 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -5,13 +5,11 @@ ENV LIMESURVEY_PACKAGE=https://www.limesurvey.org/stable-release?download=3074:l
 
 USER root
 RUN yum -y install epel-release
-RUN yum install -y libsodium rh-php72-php-imap rh-php72-php-ldap rh-php72-php-sodium
+RUN yum install -y libsodium rh-php72-php-imap rh-php72-php-ldap rh-php72-php-sodium git
 RUN rm -rf /var/cache/yum/* && yum clean all
 
 RUN rm -rf /app && mkdir -p /app 
-RUN curl -L -o /app/limesurvey.tar.gz "$LIMESURVEY_PACKAGE"
-RUN tar -C /app -xf /app/limesurvey.tar.gz
-RUN rm /app/limesurvey.tar.gz
+RUN git clone https://gitlab.gnome.org/Infrastructure/survey-web.git --depth 1 --branch limesurvey 
/app/limesurvey
 COPY config.php /app/limesurvey/application/config/
 
 COPY ipa-ca.crt /etc/pki/ca-trust/source/anchors


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