From 90561fa4dbcd9aa92842a716ab5a2d8bef4eef39 Mon Sep 17 00:00:00 2001 From: Alexander Richards Date: Mon, 11 Jan 2021 14:13:18 +0000 Subject: [PATCH] something to check --- build/Dockerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/build/Dockerfile b/build/Dockerfile index f521151..33aa28b 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -3,7 +3,11 @@ ARG dirac_version=v6r22p26 FROM alexanderrichards/dirac_ui:${dirac_version} ARG productionsystem_version=master -RUN yum install -y git gcc cronie python3 python3-devel +RUN yum install -y git gcc cronie python3 python3-devel yum-priorities +RUN yum install -y http://repository.egi.eu/sw/production/umd/4/centos7/x86_64/updates/umd-release-4.1.3-1.el7.centos.noarch.rpm +RUN yum install -y ca-policy-egi-core fetch-crl +RUN systemctl enable fetch-crl-cron; systemctl start fetch-crl-cron +RUN fetch-crl -v RUN python3 -m pip install --upgrade pip setuptools wheel RUN python3 -m pip install --upgrade productionsystem@git+https://github.com/alexanderrichards/ProductionSystem.git@$productionsystem_version RUN . /root/dirac_ui/bashrc && python -m pip install --upgrade pip setuptools wheel && python -m pip install --upgrade productionsystem@git+https://github.com/alexanderrichards/ProductionSystem.git@$productionsystem_version @@ -11,7 +15,7 @@ RUN yum clean all ## setup cron jobs - maybe not needed if mounting from outside. RUN echo "@daily userdb-update.py &>> /root/log/userdb-update.log" | crontab - +RUN echo -e "[userdb]\ntrusted_cas='/etc/grid-security/certificates'" > /root/.config/productionsystem/productionsystem.conf WORKDIR /root COPY startup.sh /root/startup.sh