Skip to content

Commit

Permalink
Merge pull request stfc#45 from jnc74743/master
Browse files Browse the repository at this point in the history
Add HEP_OSlibs to EL8 and EL9 images.
  • Loading branch information
jose-caballero authored Nov 15, 2023
2 parents 6d35e25 + e7f9107 commit 02ae706
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 28 deletions.
32 changes: 18 additions & 14 deletions docker-c8/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
FROM rockylinux:8

RUN dnf -y install zip curl
# Basic dependencies
RUN dnf -y install \
zip \
curl \
freetype \
expat \
gcc \
glibc-headers \
time \
man \
unzip \
quota \
attr \
tcsh \
numactl

# Create all possible pool accounts
RUN curl -s https://raw.githubusercontent.com/stfc/grid-workernode/master/resources/pool_accounts/create.sh | bash -
Expand All @@ -12,19 +26,9 @@ RUN dnf -y install https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-release-
# EPEL
RUN dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

# Basic dependencies
RUN dnf -y install \
freetype \
expat \
gcc \
glibc-headers \
time \
man \
unzip \
quota \
attr \
tcsh \
numactl
# Install HEP_OSlibs
RUN dnf -y install https://linuxsoft.cern.ch/wlcg/centos8/x86_64/wlcg-repo-1.0.0-1.el8.noarch.rpm
RUN dnf -y install --enablerepo=devel HEP_OSlibs

# Boost (need to ensure gfal CLI from CVMFS will work for some VOs)
RUN dnf -y install boost-date-time boost-filesystem boost-graph boost-iostreams boost-program-options \
Expand Down
32 changes: 18 additions & 14 deletions docker-c9/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
FROM rockylinux:9

RUN dnf -y install zip curl-minimal
# Basic dependencies
RUN dnf -y install \
zip \
curl-minimal \
freetype \
expat \
gcc \
glibc-headers \
time \
man \
unzip \
quota \
attr \
tcsh \
numactl

# Create all possible pool accounts
RUN curl -s https://raw.githubusercontent.com/stfc/grid-workernode/master/resources/pool_accounts/create.sh | bash -
Expand All @@ -12,19 +26,9 @@ RUN dnf -y install https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-release-
# EPEL
RUN dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm

# Basic dependencies
RUN dnf -y install \
freetype \
expat \
gcc \
glibc-headers \
time \
man \
unzip \
quota \
attr \
tcsh \
numactl
# Install HEP_OSlibs
RUN dnf -y install https://linuxsoft.cern.ch/wlcg/el9/x86_64/wlcg-repo-1.0.0-1.el9.noarch.rpm
RUN dnf -y install --enablerepo=devel HEP_OSlibs

# Boost (need to ensure gfal CLI from CVMFS will work for some VOs)
RUN dnf -y install boost-date-time boost-filesystem boost-graph boost-iostreams boost-program-options \
Expand Down

0 comments on commit 02ae706

Please sign in to comment.