From e7aa978b3f8bcd102ca2937d4ef98b76398dde75 Mon Sep 17 00:00:00 2001 From: Jonas Scharpf Date: Tue, 14 Jan 2025 13:25:24 +0100 Subject: [PATCH] Fixup epel URL for Centos7 CMK-21154 Change-Id: Ie93c50c3ce53cc17b818fe630a82c0b7df60389e --- buildscripts/infrastructure/build-nodes/centos-7/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/buildscripts/infrastructure/build-nodes/centos-7/Dockerfile b/buildscripts/infrastructure/build-nodes/centos-7/Dockerfile index 5a7278a7e4d..8a934b6cc37 100644 --- a/buildscripts/infrastructure/build-nodes/centos-7/Dockerfile +++ b/buildscripts/infrastructure/build-nodes/centos-7/Dockerfile @@ -17,6 +17,10 @@ RUN yum -y --enablerepo=extras install \ RUN sed -i 's/metalink=/#metalink=/g' /etc/yum.repos.d/epel* RUN sed -i 's|^#.*baseurl=http|baseurl=http|g' /etc/yum.repos.d/epel* +RUN sed -i 's|baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch|baseurl=https://archives.fedoraproject.org/pub/archive/epel/7/$basearch|g' /etc/yum.repos.d/epel.repo +RUN sed -i 's|baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch/debug|baseurl=https://archives.fedoraproject.org/pub/archive/epel/7/$basearch/debug|g' /etc/yum.repos.d/epel.repo +RUN sed -i 's|baseurl=http://download.fedoraproject.org/pub/epel/7/SRPMS|baseurl=https://archives.fedoraproject.org/pub/archive/epel/7/SRPMS|g' /etc/yum.repos.d/epel.repo + RUN yum -y install \ centos-release-scl-rh