Commit 64063fd1 authored by MUSSET Paul's avatar MUSSET Paul
Browse files

add directories for metadata and localroot

parent 48a284b2
Pipeline #83465 passed with stage
in 16 minutes and 16 seconds
......@@ -37,13 +37,20 @@ RUN xrootd_uid=$(id -u xrootd)\
&& find / -group ${xrootd_gid} -user ${xrootd_gid} -type d -execdir chown xrootd:xrootd {} \;
# Config directory
RUN mkdir -p /etc/xrootd\
RUN mkdir -p /etc/xrootd/\
&& chown xrootd:xrootd /etc/xrootd
# Directory to mount the data storage. need to have same gid on host and container
# Directory keeping the namespace
RUN mkdir -p /mnt/xcache-ns/\
&& chown xrootd:xrootd /mnt/xcache-ns/
# Directory keeping the metadata
RUN mkdir -p /mnt/xcache-meta/\
&& chown xrootd:xrootd /mnt/xcache-meta/
# Directory to mount the data disks. need to have same uid+gid on host and container
RUN mkdir -p /mnt/xcache\
&& chown xrootd:xrootd /mnt/xcache\
&& chmod g+w /mnt/xcache
&& chown xrootd:xrootd /mnt/xcache/
# For now checking crl is disabled in xcache config file
# Might have to be later to be put in a volume. with a container spawning every n hours doing the fetch crl
......@@ -55,7 +62,6 @@ RUN yum install --nogpg -y ca-policy-lcg
RUN mkdir /etc/grid-security/xrd/\
&& chown xrootd:xrootd /etc/grid-security/xrd/
# Steps for certificates authentication
# Get VOMS Files
ADD https://indigo-iam.github.io/escape-docs/voms-config/voms-escape.cloud.cnaf.infn.it.vomses /etc/vomses/
......@@ -70,7 +76,6 @@ ENV X509_USER_PROXY=/tmp/proxy-certificate/certificate
RUN mkdir -p /tmp/proxy-certificate\
&& chown xrootd:xrootd /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 .
......
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