centos8: Fix missing repo metadata
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
FROM centos:8
|
||||
|
||||
# Fix missing repo metadata
|
||||
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-Linux-*
|
||||
RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-Linux-*
|
||||
|
||||
RUN dnf update -y
|
||||
RUN dnf install python3 git gcc gcc-c++ make gnutls-devel libuuid-devel glibc-langpack-en -y
|
||||
RUN dnf install epel-release -y
|
||||
|
||||
Reference in New Issue
Block a user