Skip to content

Commit

Permalink
Fix epel address for CentOS7 containers (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
tvoigtlaender committed Nov 14, 2024
1 parent 00a6681 commit 38f889d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion centos7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN mkdir -p /srv
ADD centos7/conda_env.yml /srv/conda_env.yml

# Switch to alternative epel source as CERN CentOS7 address is no longer available
RUN sed -i s@http://linuxsoft.cern.ch/@https://download.fedoraproject.org/pub/@ /etc/yum.repos.d/epel.repo
RUN sed -i s@http://linuxsoft.cern.ch/@https://archives.fedoraproject.org/pub/archive/@ /etc/yum.repos.d/epel.repo

RUN yum -y update && yum clean all
RUN yum -y install epel-release && yum clean all
Expand Down

0 comments on commit 38f889d

Please sign in to comment.