Skip to content

Commit

Permalink
ci: update centos8 docker to point to vault.centos.org
Browse files Browse the repository at this point in the history
  • Loading branch information
variar committed Feb 20, 2022
1 parent ae43ffb commit 8fe1b1d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/centos8/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FROM centos:8

RUN 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-*

RUN dnf update -y

RUN dnf install -y epel-release && \
Expand Down

0 comments on commit 8fe1b1d

Please sign in to comment.