Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
eos
eos-docker
Commits
2edaef08
Commit
2edaef08
authored
Oct 16, 2020
by
Fabio Luchetti
Browse files
Add Ubuntu Focal
parent
56a1e55c
Pipeline
#2017336
skipped with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile_ubuntu_bionic
View file @
2edaef08
...
...
@@ -51,7 +51,7 @@ RUN apt-get install -y software-properties-common \
# Priority >= 1000 causes a version to be installed even if this constitutes a downgrade of the package
RUN curl -sL http://storage-ci.web.cern.ch/storage-ci/storageci.key | apt-key add - \
&& apt-get update \
&& echo "deb http://storage-ci.web.cern.ch/storage-ci/debian/xrootd bionic release\n# deb-src http://storage-ci.web.cern.ch/storage-ci/debian/xrootd bionic release" >> /etc/apt/sources.list \
&& echo
-e
"deb http://storage-ci.web.cern.ch/storage-ci/debian/xrootd bionic release\n# deb-src http://storage-ci.web.cern.ch/storage-ci/debian/xrootd bionic release" >> /etc/apt/sources.list \
&& add-apt-repository 'deb http://storage-ci.web.cern.ch/storage-ci/debian/xrootd bionic release' \
&& echo "Package: xrootd* libxrd* libxrootd*\nPin: version 4.12.4\nPin-Priority: 1000" > /etc/apt/preferences.d/xrootd.pref
...
...
Dockerfile_ubuntu_focal
0 → 100644
View file @
2edaef08
#
# Simple EOS Docker file
#
# Version 0.1
FROM ubuntu:foacl
LABEL maintainer="Fabio Luchetti faluchet@cern.ch, CERN 2020"
RUN apt-get update
# Add helper scripts
COPY eos-docker/image_scripts/*.sh /
# Add configuration files for EOS instance
COPY eos-docker/eos.sysconfig /etc/sysconfig/eos
COPY eos-docker/xrd.cf.* eos-docker/krb5.conf /etc/
COPY eos-docker/fuse.eosdockertest.conf /etc/eos/fuse.eosdockertest.conf
COPY eos-docker/fuse.conf /etc/eos/fuse.mount-1.conf
COPY eos-docker/fuse.conf /etc/eos/fuse.mount-2.conf
COPY eos-docker/fstfmd.dict /var/eos/md/
RUN mkdir /var/tmp/eosxd-cache/ /var/tmp/eosxd-journal/
RUN adduser eos-user
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get install -y software-properties-common \
&& apt-get install -y --no-install-recommends apt-utils \
&& apt-get install -y \
at autoconf automake \
build-essential bzip2 \
cmake cpio curl \
emacs \
fort77 \
gcc gdb gdebi-core gfortran-8 git g++ \
heimdal-servers \
krb5-admin-server krb5-kdc krb5-user \
libpam-ccreds libpam-krb5 libtool \
nano \
parallel perl python3 python3-pip \
rsync \
sqlite3 \
vim \
wget
# Add XRootd repo
# @todo once the XRootD deb repos are better structured we can point to a
# particular stable branch. For the moment, we force install the version we want
# Priority >= 1000 causes a version to be installed even if this constitutes a downgrade of the package
RUN curl -sL http://storage-ci.web.cern.ch/storage-ci/storageci.key | apt-key add - \
&& apt-get update \
&& echo -e "deb http://storage-ci.web.cern.ch/storage-ci/debian/xrootd focal release\n# deb-src http://storage-ci.web.cern.ch/storage-ci/debian/xrootd focal release" >> /etc/apt/sources.list \
&& add-apt-repository 'deb http://storage-ci.web.cern.ch/storage-ci/debian/xrootd focal release' \
&& echo "Package: xrootd* libxrd* libxrootd*\nPin: version 4.12.5\nPin-Priority: 1000" > /etc/apt/preferences.d/xrootd.pref
# Create local repo from eos artifacts
ENV EOSREPODIR="/debs/eos/"
ADD focal_artifacts ${EOSREPODIR}
RUN cd ${EOSREPODIR} \
&& dpkg-scanpackages . > Packages \
&& gzip --keep -9 Packages \
&& echo "deb [trusted=yes] file:${EOSREPODIR} ./\n" >> /etc/apt/sources.list
RUN apt-get clean \
&& apt-get update \
&& apt-get install -y eos-client eos-fuse eos-fusex eos-test eos-testkeytab
RUN chown daemon:daemon /etc/eos.keytab \
&& chmod 400 /etc/eos.keytab
ENV DEBIAN_FRONTEND default
ENTRYPOINT ["/bin/bash"]
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment