Commit 6513da33 authored by MUSSET Paul's avatar MUSSET Paul
Browse files

xrootd to 4.12.4 and some clean after image built

parent b58fcf69
Pipeline #82703 passed with stage
in 8 minutes and 27 seconds
......@@ -27,7 +27,7 @@ FROM centos:7
COPY xrootd-stable-slc7.repo /etc/yum.repos.d/xrootd-stable-slc7.repo
RUN yum install --nogpg -y epel-release\
&& yum install --nogpg -y xrootd-server-4.12.3-1.el7.x86_64
&& yum install --nogpg -y xrootd-server-4.12.4
# Have the predefined uid/gid for xrootd to enable easy access to volumes
RUN xrootd_uid=$(id -u xrootd)\
......@@ -63,7 +63,7 @@ ADD https://indigo-iam.github.io/escape-docs/voms-config/voms-escape.cloud.cnaf.
RUN chmod 644 /etc/vomses/voms-escape.cloud.cnaf.infn.it.vomses /etc/grid-security/vomsdir/escape/voms-escape.cloud.cnaf.infn.it.lsc
# Install the VO info extractor
RUN yum install --nogpg -y xrootd-voms-4.12.3-1.el7.x86_64
RUN yum install --nogpg -y xrootd-voms-4.12.4
ENV X509_USER_PROXY=/tmp/proxy-certificate/certificate
......@@ -74,16 +74,17 @@ RUN mkdir -p /tmp/proxy-certificate\
# Steps for Token authorization
# Scitokens library
COPY --from=sci-token-build /root/rpmbuild/RPMS/x86_64/xrootd-scitokens-1.2.2-1.el7.x86_64.rpm .
RUN yum install --nogpg -y xrootd-scitokens-*.el7.x86_64.rpm
RUN yum install --nogpg -y xrootd-scitokens-*.el7.x86_64.rpm && rm -f xrootd-scitokens-*.el7.x86_64.rpm
# HTTP xroot client library
RUN yum install --nogpg -y xrdcl-http-4.12.3-1.el7.x86_64\
RUN yum install --nogpg -y xrdcl-http-4.12.4\
&& rm -rf /etc/xrootd
# problem with xrdcl-http not looking /etc/grid-security
RUN cp /etc/grid-security/certificates/*.pem /etc/pki/ca-trust/source/anchors/\
&& update-ca-trust extract
RUN yum clean all
USER xrootd:xrootd
CMD ["xrootd","-d","-c","/etc/xrootd/xcache-config.cfg","-n","xcache"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment