[cpp-linbuild] branch main updated: Implement support for Rocky Linux 8
John W. O'Brien
john at saltant.com
Mon Jun 7 17:38:16 UTC 2021
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=4b4a1328491774e989534c8dd3b2fa7a8d206380
The following commit(s) were added to refs/heads/main by this push:
new 4b4a132 Implement support for Rocky Linux 8
4b4a132 is described below
commit 4b4a1328491774e989534c8dd3b2fa7a8d206380
Author: John W. O'Brien <john at saltant.com>
AuthorDate: Mon Jun 7 13:03:10 2021 -0400
Implement support for Rocky Linux 8
---
Makefile | 3 ++-
os/rockylinux8/image/Dockerfile | 26 ++++++++++++++++++++++++++
os/rockylinux8/image/local.repo | 5 +++++
3 files changed, 33 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 7d321cd..57bd62b 100644
--- a/Makefile
+++ b/Makefile
@@ -141,7 +141,8 @@ distfiles: $(foreach component,$(COMPONENTS),$(SOURCEDIR)/$($(component)_DISTFIL
PLATFORMS=\
centos7 \
centos8 \
- amazonlinux2
+ amazonlinux2 \
+ rockylinux8
# To add a new platform, create the following
# os/$OS/
diff --git a/os/rockylinux8/image/Dockerfile b/os/rockylinux8/image/Dockerfile
new file mode 100644
index 0000000..1e4a1f3
--- /dev/null
+++ b/os/rockylinux8/image/Dockerfile
@@ -0,0 +1,26 @@
+FROM rockylinux/rockylinux:8.4-rc1
+
+COPY *.repo /etc/yum.repos.d/
+
+RUN sed -i "s/enabled=0/enabled=1/" /etc/yum.repos.d/Rocky-PowerTools.repo \
+ && yum -y update \
+ && yum -y install \
+ 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/rockylinux8/image/local.repo b/os/rockylinux8/image/local.repo
new file mode 100644
index 0000000..abe1732
--- /dev/null
+++ b/os/rockylinux8/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