Skip to content

Commit dd7fc23

Browse files
committed
fix rollup
1 parent efdf05d commit dd7fc23

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/ci/docker/dist-x86_64-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)