[cpp-linbuild] branch main updated: SSPCPP-1006 Implement support for RHEL 10 (beta)

John W. O'Brien john at saltant.com
Fri Feb 7 18:02:58 UTC 2025


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=46c978ceaa4850a0595c20f5319123681bc37d98

The following commit(s) were added to refs/heads/main by this push:
     new 46c978c  SSPCPP-1006 Implement support for RHEL 10 (beta)
46c978c is described below

commit 46c978ceaa4850a0595c20f5319123681bc37d98
Author: John W. O'Brien <john at saltant.com>
AuthorDate: Thu Feb 6 18:19:05 2025 +0000

    SSPCPP-1006 Implement support for RHEL 10 (beta)
---
 Makefile                   |  4 +++-
 os/rhel10/image/Dockerfile | 28 ++++++++++++++++++++++++++++
 os/rhel10/image/local.repo |  5 +++++
 3 files changed, 36 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index ce5719b..dfca0da 100644
--- a/Makefile
+++ b/Makefile
@@ -34,6 +34,7 @@
 # 	rhel7
 # 	rhel8
 # 	rhel9
+# 	rhel10
 
 # Constants and utility variables
 
@@ -190,7 +191,8 @@ ifdef HOST_IS_RHEL_QUALIFIED
 PLATFORMS:=$(PLATFORMS) \
 	rhel7 \
 	rhel8 \
-	rhel9
+	rhel9 \
+	rhel10
 endif
 
 # To add a new platform, create the following
diff --git a/os/rhel10/image/Dockerfile b/os/rhel10/image/Dockerfile
new file mode 100644
index 0000000..699e9ac
--- /dev/null
+++ b/os/rhel10/image/Dockerfile
@@ -0,0 +1,28 @@
+FROM registry.access.redhat.com/ubi10-beta/ubi:10.0-beta-1737026793
+
+COPY *.repo /etc/yum.repos.d/
+
+RUN dnf \
+        config-manager \
+        --enable codeready-builder-beta-for-rhel-10-$(arch)-rpms \
+    && dnf -y update \
+    && dnf -y install \
+        autoconf automake boost-devel chrpath curl-devel doxygen \
+        gcc-c++ gdb git groff httpd-devel \
+        libtool make openldap-devel openssl-devel \
+        pkgconfig rpm-build stunnel systemd-devel unixODBC-devel \
+        zlib-devel createrepo_c yum-utils \
+    && dnf clean all
+
+# internal and external are w.r.t. a container, where external locations
+# are expected to be mounted and pre-populated with required inputs
+ENV BUILD_BASE=/opt/build
+ENV INT_BASE=${BUILD_BASE}/internal
+ENV EXT_BASE=${BUILD_BASE}/external
+
+RUN mkdir -p \
+    ${INT_BASE}/{BUILD,BUILDROOT} \
+    ${EXT_BASE}/{in,out} \
+    && ln -s ${EXT_BASE}/in/macros/macros.shibboleth /etc/rpm/
+
+WORKDIR ${EXT_BASE}/in/SPECS
diff --git a/os/rhel10/image/local.repo b/os/rhel10/image/local.repo
new file mode 100644
index 0000000..abe1732
--- /dev/null
+++ b/os/rhel10/image/local.repo
@@ -0,0 +1,5 @@
+[local]
+name=Local Shibboleth-SP Build Repo
+baseurl=file:///opt/build/external/out/RPMS/$basearch/
+gpgcheck=0
+enabled=0

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


More information about the commits mailing list