fix centos7 repository url

* now that centos7 is no longer supported, primary repo has been
  removed
This commit is contained in:
Gilles Grandou 2022-08-09 16:49:06 +02:00
parent badb4879b0
commit fce4e3ce0a

View File

@ -27,6 +27,8 @@ packages = ksh csh xterm xorg-x11-apps xkeyboard-config git glibc-devel gtk2 gtk
[centos8] [centos8]
dockerfile = dockerfile =
FROM centos:8 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 install dnf-plugins-core -y
RUN yum config-manager --set-enabled powertools -y RUN yum config-manager --set-enabled powertools -y
RUN yum install sudo -y RUN yum install sudo -y