[cpp-linbuild] branch main updated: SSPCPP-953 Implement support for Rocky Linux 9
John W. O'Brien
john at saltant.com
Fri Aug 5 15:07:09 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=1ae5435c1771712efcdbfaea541101a691aaca18
The following commit(s) were added to refs/heads/main by this push:
new 1ae5435 SSPCPP-953 Implement support for Rocky Linux 9
1ae5435 is described below
commit 1ae5435c1771712efcdbfaea541101a691aaca18
Author: John W. O'Brien <john at saltant.com>
AuthorDate: Fri Aug 5 15:06:41 2022 +0000
SSPCPP-953 Implement support for Rocky Linux 9
---
Makefile | 3 ++-
os/rockylinux9/image/Dockerfile | 26 ++++++++++++++++++++++++++
os/rockylinux9/image/local.repo | 5 +++++
3 files changed, 33 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index cf71802..3753f88 100644
--- a/Makefile
+++ b/Makefile
@@ -161,7 +161,8 @@ PLATFORMS=\
centos8 \
amazonlinux2 \
amazonlinux2022 \
- rockylinux8
+ rockylinux8 \
+ rockylinux9
# To add a new platform, create the following
# os/$OS/
diff --git a/os/rockylinux9/image/Dockerfile b/os/rockylinux9/image/Dockerfile
new file mode 100644
index 0000000..6736591
--- /dev/null
+++ b/os/rockylinux9/image/Dockerfile
@@ -0,0 +1,26 @@
+FROM rockylinux:9.0.20220720
+
+COPY *.repo /etc/yum.repos.d/
+
+RUN yum -y install epel-release \
+ && yum -y update \
+ && yum -y install --enablerepo crb \
+ autoconf automake boost-devel chrpath curl-devel doxygen \
+ gcc-c++ gdb git groff httpd-devel libidn-devel \
+ libmemcached-devel libtool make openldap-devel openssl-devel \
+ pkgconfig rpm-build stunnel systemd-devel unixODBC-devel \
+ zlib-devel createrepo_c yum-utils \
+ && yum 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/rockylinux9/image/local.repo b/os/rockylinux9/image/local.repo
new file mode 100644
index 0000000..abe1732
--- /dev/null
+++ b/os/rockylinux9/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