[cpp-linbuild] branch main updated: Convert CentOS 7 image to use Vault

John W. O'Brien john at saltant.com
Fri Jul 5 14:54:49 UTC 2024


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=df2b78528675d06d8fbaf02bcff3b8b008de96f7

The following commit(s) were added to refs/heads/main by this push:
     new df2b785  Convert CentOS 7 image to use Vault
df2b785 is described below

commit df2b78528675d06d8fbaf02bcff3b8b008de96f7
Author: John W. O'Brien <john at saltant.com>
AuthorDate: Fri Jul 5 14:54:15 2024 +0000

    Convert CentOS 7 image to use Vault
---
 os/centos7/image/Dockerfile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/os/centos7/image/Dockerfile b/os/centos7/image/Dockerfile
index 023169a..bac2ac5 100644
--- a/os/centos7/image/Dockerfile
+++ b/os/centos7/image/Dockerfile
@@ -2,7 +2,11 @@ FROM docker.io/library/centos:7.9.2009
 
 COPY *.repo /etc/yum.repos.d/
 
-RUN yum -y update \
+RUN sed -i \
+        -e "s/^mirrorlist/#mirrorlist/" \
+        -e "s|^#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|" \
+        /etc/yum.repos.d/CentOS-Base.repo \
+    && yum -y update \
     && yum -y install \
         autoconf automake boost-devel chrpath doxygen gcc-c++ git groff \
         httpd-devel libidn-devel libmemcached-devel libtool make \

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


More information about the commits mailing list