review-dockerfile: Add workaround for a new location of CentOS repos

This commit is contained in:
Tomas Babej 2022-12-18 11:45:57 -05:00 committed by Tomas Babej
parent dbeee0640a
commit 7e45425075

View file

@ -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