Commit 5e5abf21 authored by Fabio Luchetti's avatar Fabio Luchetti
Browse files

Add Dockerfile for minimal image with eos-fusex only

parent db4c833e
Pipeline #2780094 skipped with stage
......@@ -27,18 +27,16 @@ RUN yum -y --nogpg install epel-release \
&& if [ "${EOS_CODENAME}" == "diopside" ]; then yum -y --nogpg install eos-quarkdb; else yum -y --nogpg install quarkdb; fi \
&& yum clean all && rm -rf /var/cache/yum
# @todo check these, chose one
# RUN yum install -y --nogpg install xrootd-client && yum clean all
# RUN ln -s /opt/eos/xrootd/bin/xrdcp /usr/bin/xrdcp
# Expect to use eos-xrootd
RUN sed -i "s|/usr/bin/xrdcp|/opt/eos/xrootd/bin/xrdcp|g" /etc/xrd.cf.fst
# Install some much needed utility: please bloat with care!
RUN yum -y --nogpg install nano redis && yum clean all && rm -rf /var/cache/yum
# sss keytabs needs to be 400
RUN chmod 400 /etc/eos.keytab /etc/eos.client.keytab
# Change owner of /var/spool/xrootd directory to daemon
RUN chown daemon:daemon /var/spool/xrootd
# Install some much needed utility: please bloat with care!
RUN yum -y --nogpg install nano redis && yum clean all && rm -rf /var/cache/yum
ENTRYPOINT ["/bin/bash"]
#
# Simple EOS Docker file
#
# Version 0.1
FROM centos:7
LABEL maintainer="Fabio Luchetti, fabio.luchetti@cern.ch, CERN 2021"
# One of {citrine, diopside}
ARG EOS_CODENAME=citrine
# One of {commit, tag-testing, tag}
ARG REPOBRANCH=tag
COPY eos-docker/minimal/el-7/epel.repo /etc/yum.repos.d/epel.repo
COPY eos-docker/minimal/el-7/eos.repo /etc/yum.repos.d/eos.repo
RUN sed -i "s|__EOS_CODENAME__|${EOS_CODENAME}|g" /etc/yum.repos.d/eos.repo \
&& yum-config-manager --enable "eos-${REPOBRANCH}"
RUN yum -y --nogpg install epel-release \
&& yum -y --nogpg install \
eos-fusex \
&& yum clean all && rm -rf /var/cache/yum
# Install some much needed utility: please bloat with care!
RUN yum -y --nogpg install nano && yum clean all && rm -rf /var/cache/yum
ENTRYPOINT ["/bin/bash"]
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