fix centos7 repository url
* now that centos7 is no longer supported, primary repo has been removed
This commit is contained in:
parent
badb4879b0
commit
fce4e3ce0a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user