Skip to content

Commit

Permalink
fix centos8 vaulted mirrors (#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrottenberg authored Apr 13, 2022
1 parent f0947e4 commit 6baaf99
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 9 deletions.
4 changes: 3 additions & 1 deletion docker-images/3.3/centos8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
#
FROM centos:8 AS base

RUN dnf -y install libgomp && \
# Until we move to Rockylinux
RUN sed -i '/mirrorlist=/d;s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* && \
dnf -y install libgomp && \
dnf clean all;


Expand Down
4 changes: 3 additions & 1 deletion docker-images/3.4/centos8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
#
FROM centos:8 AS base

RUN dnf -y install libgomp && \
# Until we move to Rockylinux
RUN sed -i '/mirrorlist=/d;s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* && \
dnf -y install libgomp && \
dnf clean all;


Expand Down
4 changes: 3 additions & 1 deletion docker-images/4.0/centos8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
#
FROM centos:8 AS base

RUN dnf -y install libgomp && \
# Until we move to Rockylinux
RUN sed -i '/mirrorlist=/d;s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* && \
dnf -y install libgomp && \
dnf clean all;


Expand Down
4 changes: 3 additions & 1 deletion docker-images/4.1/centos8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
#
FROM centos:8 AS base

RUN dnf -y install libgomp && \
# Until we move to Rockylinux
RUN sed -i '/mirrorlist=/d;s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* && \
dnf -y install libgomp && \
dnf clean all;


Expand Down
4 changes: 3 additions & 1 deletion docker-images/4.2/centos8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
#
FROM centos:8 AS base

RUN dnf -y install libgomp && \
# Until we move to Rockylinux
RUN sed -i '/mirrorlist=/d;s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* && \
dnf -y install libgomp && \
dnf clean all;


Expand Down
4 changes: 3 additions & 1 deletion docker-images/4.3/centos8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
#
FROM centos:8 AS base

RUN dnf -y install libgomp && \
# Until we move to Rockylinux
RUN sed -i '/mirrorlist=/d;s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* && \
dnf -y install libgomp && \
dnf clean all;


Expand Down
4 changes: 3 additions & 1 deletion docker-images/4.4/centos8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
#
FROM centos:8 AS base

RUN dnf -y install libgomp && \
# Until we move to Rockylinux
RUN sed -i '/mirrorlist=/d;s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* && \
dnf -y install libgomp && \
dnf clean all;


Expand Down
4 changes: 3 additions & 1 deletion docker-images/5.0/centos8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
#
FROM centos:8 AS base

RUN dnf -y install libgomp && \
# Until we move to Rockylinux
RUN sed -i '/mirrorlist=/d;s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* && \
dnf -y install libgomp && \
dnf clean all;


Expand Down
4 changes: 3 additions & 1 deletion templates/Dockerfile-template.centos8
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
#
FROM centos:8 AS base

RUN dnf -y install libgomp && \
# Until we move to Rockylinux
RUN sed -i '/mirrorlist=/d;s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* && \
dnf -y install libgomp && \
dnf clean all;


Expand Down

0 comments on commit 6baaf99

Please sign in to comment.