We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5309a3e commit 802c11cCopy full SHA for 802c11c
src/ci/docker/dist-x86-linux/Dockerfile
@@ -2,6 +2,12 @@ FROM centos:5
2
3
WORKDIR /build
4
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/\1vault.centos.org/' /etc/yum.repos.d/*.repo
10
+
11
RUN yum upgrade -y && yum install -y \
12
curl \
13
bzip2 \
0 commit comments