Skip to content

Commit

Permalink
build(docker): update base image to Alma9 (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenperezm committed Aug 22, 2024
1 parent 33f61a4 commit c73097b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
FROM docker.io/cern/cc7-base:20240611-1
FROM docker.io/cern/alma9-base:20240801-1

ARG DATE
ARG VERSION

COPY ca.repo /etc/yum.repos.d/ca.repo
COPY wlcg-centos7.repo /etc/yum.repos.d/wlcg-centos7.repo
COPY wlcg-el9.repo /etc/yum.repos.d/wlcg-el9.repo
COPY RPM-GPG-KEY-wlcg /etc/pki/rpm-gpg/RPM-GPG-KEY-wlcg

# hadolint ignore=DL3033
RUN yum install -y epel-release && \
yum clean all

# hadolint ignore=DL3033
RUN yum install -y \
CERN-CA-certs \
ca-policy-egi-core \
gfal2-all \
gfal2-util \
python3-gfal2-util \
libffi-devel \
openssl-devel \
python-pip \
Expand Down
2 changes: 1 addition & 1 deletion wlcg-centos7.repo → wlcg-el9.repo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[wlcg]
name=WLCG Repository
baseurl=http://linuxsoft.cern.ch/wlcg/centos7/$basearch
baseurl=http://linuxsoft.cern.ch/wlcg/el9/$basearch
protect=1
enabled=1
# To use priorities you must have yum-priorities installed
Expand Down

0 comments on commit c73097b

Please sign in to comment.