We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3092cca commit ad1e201Copy full SHA for ad1e201
docker/dev/common/centos8-base-Dockerfile
@@ -6,6 +6,14 @@ FROM quay.io/centos/centos:stream8
6
ARG TZ
7
ENV TZ=${TZ}
8
9
+# CentOS Stream 8 reaches end-of-life at the end of May 2024
10
+RUN for i in /etc/yum.repos.d/CentOS-*.repo; do \
11
+ cp -p ${i} ${i}.bak && \
12
+ sed -e '/^mirrorlist=/s/^/#/' \
13
+ -e '/^#baseurl=/s|^#baseurl=http://mirror|baseurl=http://vault|' \
14
+ ${i}.bak >${i}; \
15
+ done
16
+
17
RUN dnf -y update \
18
&& dnf -y install \
19
sudo \
0 commit comments