Commit fbd8f0fd authored by Fabio Luchetti's avatar Fabio Luchetti
Browse files

Update Dokerfile.local

parent f0ad0be4
# Simple EOS Docker file
# Version 0.2
# Version 0.3
FROM centos:7
LABEL maintainer="Elvin Sindrilaru,, CERN 2017"
......@@ -15,19 +15,44 @@ COPY image_scripts/*.sh /
# Add configuration files
COPY eos.sysconfig /etc/sysconfig/eos
COPY* krb5.conf /etc/
COPY fuse.eosdockertest.conf /etc/eos/fuse.eosdockertest.conf
COPY fuse.conf /etc/eos/fuse.mount-1.conf
COPY fuse.conf /etc/eos/fuse.mount-2.conf
COPY fstfmd.dict /var/eos/md/
# Add configuration files for forwarding proxy server
COPY xrootd.conf /etc/tmpfiles.d/
COPY xrootd-fwd-proxy.cfg /etc/xrootd/
RUN mkdir /var/tmp/eosxd-cache/ /var/tmp/eosxd-journal/
RUN adduser eos-user
# Install XRootD
RUN yum -y --nogpg update; \
yum -y --nogpg install \
RUN yum -y --nogpg update \
&& yum -y --nogpg install \
initscripts less heimdal-server heimdal-workstation krb5-server krb5-workstation \
eos-server eos-testkeytab quarkdb \
xrootd-$XRD_VERSION \
xrootd-client-$XRD_VERSION \
xrootd-client-libs-$XRD_VERSION \
xrootd-libs-$XRD_VERSION \
xrootd-server-devel-$XRD_VERSION \
xrootd-server-libs-$XRD_VERSION \
eos-server eos-testkeytab quarkdb; \
yum clean all
&& yum clean all
# Generate a new forwardable keytab 'eos-test+' to replace the not-forwardable
# one (installed by the eos-testkeytab package).
# This is useful to deploy EOS on Kubernetes clusters running on CERN's Cloud
# Infrastructure; you can remove these lines if you don't need one.
RUN yes | xrdsssadmin -k eos-test del /etc/eos.keytab \
&& yes | xrdsssadmin -u daemon -g daemon -k eos-test+ -n 1234567890123456789 add /etc/eos.keytab \
&& chown daemon:daemon /etc/eos.keytab \
&& chmod 400 /etc/eos.keytab
# Change owner of /var/spool/xrootd directory to daemon
RUN chown daemon:daemon /var/spool/xrootd
ENTRYPOINT ["/bin/bash"]
Supports Markdown
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