review-dockerfile: Add workaround for a new location of CentOS repos
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user