We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 107433f commit 5d03925Copy full SHA for 5d03925
docker/Dockerfile.native.centos
@@ -11,6 +11,13 @@ RUN /native-linux-image.sh
11
12
FROM centos:7
13
14
+# From https://github.com/rust-lang/rust/blob/672e3aaf28ab1e5cbe80b3ff012cd3a8e4ef98af/src/ci/docker/host-x86_64/dist-x86_64-linux/Dockerfile#L9-L12
15
+# CentOS 7 EOL is June 30, 2024, but the repos remain in the vault.
16
+RUN sed -i /etc/yum.repos.d/*.repo -e 's!^mirrorlist!#mirrorlist!' \
17
+ -e 's!^#baseurl=http://mirror.centos.org/!baseurl=https://vault.centos.org/!'
18
+RUN sed -i 's/enabled=1/enabled=0/' /etc/yum/pluginconf.d/fastestmirror.conf
19
+
20
21
COPY common.sh lib.sh /
22
RUN /common.sh
23
0 commit comments