From fce4e3ce0a0cdd537faa261b4efb7ffb2205bf8c Mon Sep 17 00:00:00 2001 From: Gilles Grandou Date: Tue, 9 Aug 2022 16:49:06 +0200 Subject: [PATCH] fix centos7 repository url * now that centos7 is no longer supported, primary repo has been removed --- runon.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runon.conf b/runon.conf index 642a27d..5ebb8e5 100644 --- a/runon.conf +++ b/runon.conf @@ -27,6 +27,8 @@ packages = ksh csh xterm xorg-x11-apps xkeyboard-config git glibc-devel gtk2 gtk [centos8] dockerfile = FROM centos:8 + 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 yum install dnf-plugins-core -y RUN yum config-manager --set-enabled powertools -y RUN yum install sudo -y