Skip to content

Commit 68fcad8

Browse files
authored
Rollup merge of #41048 - TimNN:centos5-vault-beta, r=alexcrichton
[beta] Backport #41045: switch to vault.centos.org r? @alexcrichton
2 parents 0134608 + 10dc01a commit 68fcad8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/ci/docker/dist-x86-linux/Dockerfile

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ FROM centos:5
22

33
WORKDIR /build
44

5+
# Centos 5 is EOL and is no longer available from the usual mirrors, so switch
6+
# to http://vault.centos.org/
7+
RUN sed -i 's/enabled=1/enabled=0/' /etc/yum/pluginconf.d/fastestmirror.conf
8+
RUN sed -i 's/mirrorlist/#mirrorlist/' /etc/yum.repos.d/*.repo
9+
RUN sed -i 's/#\(baseurl.*\)mirror.centos.org/\1107.158.252.35/' /etc/yum.repos.d/*.repo
10+
511
RUN yum upgrade -y && yum install -y \
612
curl \
713
bzip2 \

0 commit comments

Comments
 (0)