]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
builder: add el-10 target, based on rockylinux:10 for now
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 8 Jul 2025 09:38:56 +0000 (11:38 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 8 Jul 2025 09:38:56 +0000 (11:38 +0200)
cherry-picked from 32a5ef17f4aa04822b79aafd2c783c19433955a5

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
builder-support/dockerfiles/Dockerfile.target.el-10 [new file with mode: 0644]

diff --git a/builder-support/dockerfiles/Dockerfile.target.el-10 b/builder-support/dockerfiles/Dockerfile.target.el-10
new file mode 100644 (file)
index 0000000..2e76e1c
--- /dev/null
@@ -0,0 +1,18 @@
+# First do the source builds
+@INCLUDE Dockerfile.target.sdist
+
+# This defines the distribution base layer
+# Put only the bare minimum of common commands here, without dev tools
+FROM quay.io/rockylinux/rockylinux:10 as dist-base
+
+ARG BUILDER_CACHE_BUSTER=
+
+RUN touch /var/lib/rpm/* && dnf install -y epel-release && \
+    crb enable
+
+# Do the actual rpm build
+@INCLUDE Dockerfile.rpmbuild
+
+# Do a test install and verify
+# Can be skipped with skippackagetest=1 in the environment
+@EXEC [ "$skippackagetest" = "" ] && include Dockerfile.rpmtest