diff --git a/Dockerfile b/Dockerfile index 3f1c31a..66d68c0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,9 @@ 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-* + # >> ignore SC2086 because passing quoted env vars to dnf causes issues (fail to install) # hadolint ignore=SC2086 RUN INSTALL_PKGS="\