Commit 2edaef08 authored by Fabio Luchetti's avatar Fabio Luchetti
Browse files

Add Ubuntu Focal

parent 56a1e55c
Pipeline #2017336 skipped with stage
......@@ -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
......
#
# 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"]
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