[cpp-linbuild] branch main updated: Use Vault repos in CentOS 8 image

John W. O'Brien john at saltant.com
Fri Feb 18 14:43:19 UTC 2022


This is an automated email from the git hooks/post-receive script.

obrienjw pushed a commit to branch main
in repository cpp-linbuild.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-linbuild.git;a=commit;h=4b5672bf142ba3e3b52e0b6898f7a725302e960f

The following commit(s) were added to refs/heads/main by this push:
     new 4b5672b  Use Vault repos in CentOS 8 image
4b5672b is described below

commit 4b5672bf142ba3e3b52e0b6898f7a725302e960f
Author: John W. O'Brien <john at saltant.com>
AuthorDate: Fri Feb 18 14:40:42 2022 +0000

    Use Vault repos in CentOS 8 image
---
 os/centos8/image/Dockerfile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/os/centos8/image/Dockerfile b/os/centos8/image/Dockerfile
index 00b27d8..95de462 100644
--- a/os/centos8/image/Dockerfile
+++ b/os/centos8/image/Dockerfile
@@ -3,6 +3,10 @@ FROM centos:8.4.2105
 COPY *.repo /etc/yum.repos.d/
 
 RUN sed -i "s/enabled=0/enabled=1/" /etc/yum.repos.d/CentOS-Linux-PowerTools.repo \
+    && sed -i \
+        -e "s/^mirrorlist/#mirrorlist/" \
+        -e "s|^#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|" \
+        /etc/yum.repos.d/CentOS-Linux-*.repo \
     && yum -y update \
     && yum -y install \
         autoconf automake boost-devel chrpath curl-devel doxygen \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list