From 7e4542507540efa6fc0599a35a385c758176489e Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Sun, 18 Dec 2022 11:45:57 -0500 Subject: [PATCH] review-dockerfile: Add workaround for a new location of CentOS repos --- scripts/review-dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/review-dockerfile b/scripts/review-dockerfile index f007782a5..5d7a11a5f 100644 --- a/scripts/review-dockerfile +++ b/scripts/review-dockerfile @@ -3,6 +3,10 @@ FROM centos:8 +# Workaround to the location of the repos +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-* + RUN dnf update -y RUN yum install epel-release -y RUN dnf install python38 git gcc gcc-c++ cmake make gnutls-devel libuuid-devel libfaketime sudo man -y