[cpp-linbuild] branch main updated: Detect architecture for RHEL8/9 image builds

John W. O'Brien john at saltant.com
Tue Jul 30 14:57:56 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=9519a55b8a5c3fb5e352d45de970326b7016564e

The following commit(s) were added to refs/heads/main by this push:
     new 9519a55  Detect architecture for RHEL8/9 image builds
9519a55 is described below

commit 9519a55b8a5c3fb5e352d45de970326b7016564e
Author: John W. O'Brien <john at saltant.com>
AuthorDate: Tue Jul 30 14:57:13 2024 +0000

    Detect architecture for RHEL8/9 image builds
---
 os/rhel8/image/Dockerfile | 2 +-
 os/rhel9/image/Dockerfile | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/os/rhel8/image/Dockerfile b/os/rhel8/image/Dockerfile
index 0822803..38c554d 100644
--- a/os/rhel8/image/Dockerfile
+++ b/os/rhel8/image/Dockerfile
@@ -4,7 +4,7 @@ COPY *.repo /etc/yum.repos.d/
 
 RUN dnf \
         config-manager \
-        --enable codeready-builder-for-rhel-8-x86_64-rpms \
+        --enable codeready-builder-for-rhel-8-$(arch)-rpms \
     && dnf -y update \
     && dnf -y install \
         autoconf automake boost-devel chrpath curl-devel doxygen \
diff --git a/os/rhel9/image/Dockerfile b/os/rhel9/image/Dockerfile
index 5def3f7..a8cacb1 100644
--- a/os/rhel9/image/Dockerfile
+++ b/os/rhel9/image/Dockerfile
@@ -4,7 +4,7 @@ COPY *.repo /etc/yum.repos.d/
 
 RUN dnf \
         config-manager \
-        --enable codeready-builder-for-rhel-9-x86_64-rpms \
+        --enable codeready-builder-for-rhel-9-$(arch)-rpms \
     && dnf -y update \
     && dnf -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