Skip to content

Commit 2dd6338

Browse files
Update repo URLs for the deprecated CentOS 6 repos. (#115)
1 parent 90712f1 commit 2dd6338

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build/x86_64_centos6/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
FROM centos:6
22

3+
# CentOS 6 is EOL, so we have to switch to the vault repos.
4+
RUN sed -i \
5+
-e 's%^mirrorlist%#mirrorlist%' \
6+
-e 's%^# *baseurl=http://mirror%baseurl=http://vault%' \
7+
/etc/yum.repos.d/CentOS-*.repo
8+
39
RUN yum -y update \
410
&& yum -y install epel-release \
511
&& yum -y install \

0 commit comments

Comments
 (0)