From 64b2b50470282d95a647ac7c0e93b799175f10a1 Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Mon, 18 Jul 2022 14:33:18 +0200 Subject: [PATCH] Fix centos8 test image Signed-off-by: Evan Lezar --- test/release/docker/centos8/Dockerfile | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/test/release/docker/centos8/Dockerfile b/test/release/docker/centos8/Dockerfile index 185cb6e7..32f966e3 100644 --- a/test/release/docker/centos8/Dockerfile +++ b/test/release/docker/centos8/Dockerfile @@ -1,16 +1,6 @@ -ARG BASEIMAGE=centos:8 +ARG BASEIMAGE=quay.io/centos/centos:stream8 FROM ${BASEIMAGE} -ARG BASEIMAGE -# See https://www.centos.org/centos-linux-eol/ -# and https://stackoverflow.com/a/70930049 for move to vault.centos.org -# and https://serverfault.com/questions/1093922/failing-to-run-yum-update-in-centos-8 for move to vault.epel.cloud -RUN [[ "${BASEIMAGE}" != "centos:8" ]] || \ - ( \ - sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-Linux-* && \ - sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.epel.cloud|g' /etc/yum.repos.d/CentOS-Linux-* \ - ) - RUN yum install -y \ yum-utils \ ruby-devel \