[indico-web] Should happen outside of builder



commit 73f97972b9e379ea2d478e3aebbf768e52d75714
Author: Andrea Veri <av gnome org>
Date:   Tue Feb 22 14:41:27 2022 +0000

    Should happen outside of builder

 worker/Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/worker/Dockerfile b/worker/Dockerfile
index 18dda63..b6a21d8 100644
--- a/worker/Dockerfile
+++ b/worker/Dockerfile
@@ -8,8 +8,6 @@ RUN apt-get update && \
     apt-get -y install libpq-dev python-virtualenv gcc gettext \
         libldap2-dev libsasl2-dev libssl-dev && \
     apt-get clean
-RUN sed -i '/^mozilla\/DST_Root_CA_X3/s/^/!/' /etc/ca-certificates.conf \
-    && update-ca-certificates -f
 
 RUN virtualenv ${INDICO_VIRTUALENV}
 RUN ${pip} install --upgrade pip setuptools && \
@@ -33,6 +31,8 @@ RUN ${INDICO_VIRTUALENV}/bin/indico setup create-symlinks /opt/indico && \
 COPY uwsgi.ini /etc/uwsgi.ini
 COPY run_indico.sh run_celery.sh set_user.sh /opt/indico/
 ADD ipa-ca.crt /etc/ipa-ca.crt
+RUN sed -i '/^mozilla\/DST_Root_CA_X3/s/^/!/' /etc/ca-certificates.conf \
+    && update-ca-certificates -f
 RUN chmod g=u /etc/passwd && chmod 755 /opt/indico/*.sh
 
 EXPOSE 59999


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