From b13de7b7a528d2bd7670483242b6b7413447f925 Mon Sep 17 00:00:00 2001 From: "vimartin@redhat.com" Date: Thu, 15 Aug 2024 08:49:07 +0200 Subject: [PATCH] Update base image to CentOS 9 stream --- Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 66d68c0..1ac09c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,4 @@ -FROM quay.io/centos/centos:stream8 - -# Update repos to use the vault mirror, now that CentOS 8 Stream is EOL -RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* -RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* +FROM quay.io/centos/centos:stream9 # >> ignore SC2086 because passing quoted env vars to dnf causes issues (fail to install) # hadolint ignore=SC2086