]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
builder: add centos-10-stream target
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Thu, 15 May 2025 09:11:38 +0000 (11:11 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Thu, 5 Jun 2025 08:06:10 +0000 (10:06 +0200)
.github/workflows/builder.yml
builder-support/dockerfiles/Dockerfile.target.centos-10-stream [new file with mode: 0644]

index 2f5ec84603a5cff5504d32d948c1ddb5b3b3b7fd..8bc68cf0c087ffed1ec68b2d4055c2bc0b48a5f7 100644 (file)
@@ -37,6 +37,7 @@ jobs:
         os:
           - el-8
           - centos-9-stream
+          - centos-10-stream
           - ubuntu-noble
           - ubuntu-oracular
           - debian-bookworm
diff --git a/builder-support/dockerfiles/Dockerfile.target.centos-10-stream b/builder-support/dockerfiles/Dockerfile.target.centos-10-stream
new file mode 100644 (file)
index 0000000..1a1178f
--- /dev/null
@@ -0,0 +1,19 @@
+# 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/centos/centos:stream10 as dist-base
+
+ARG BUILDER_CACHE_BUSTER=
+
+RUN touch /var/lib/rpm/* && dnf install -y epel-release && \
+    dnf install -y 'dnf-command(config-manager)' && \
+    dnf config-manager --set-enabled crb
+
+# 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