1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

docker: fix repo URL for CentOS 8

This commit is contained in:
Steffen Vogel 2022-02-14 11:28:18 +01:00
parent 938a65ebda
commit 557665f0f5

View file

@ -33,6 +33,13 @@ ARG TRIPLET
USER root
# CentOS 8 is End-of-Life. We need to use the vault repos
# https://www.centos.org/centos-linux-eol/
RUN cd /etc/yum.repos.d/ && \
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* && \
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* && \
dnf update -y
# Enable Extra Packages for Enterprise Linux (EPEL) repo and PowerTools
RUN dnf -y install epel-release dnf-plugins-core
RUN dnf config-manager --set-enabled powertools