From: Peter van Dijk Date: Fri, 6 Jun 2025 12:58:55 +0000 (+0200) Subject: builder: add el-10 target, based on rockylinux:10 for now X-Git-Tag: rec-5.3.0-alpha2~4^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=32a5ef17f4aa04822b79aafd2c783c19433955a5;p=thirdparty%2Fpdns.git builder: add el-10 target, based on rockylinux:10 for now --- diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index 902af026a5..5522080f09 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -38,6 +38,7 @@ jobs: - el-8 - centos-9-stream - centos-10-stream + - el-10 - ubuntu-noble - ubuntu-oracular - debian-bookworm diff --git a/builder-support/dockerfiles/Dockerfile.target.el-10 b/builder-support/dockerfiles/Dockerfile.target.el-10 new file mode 100644 index 0000000000..2e76e1c693 --- /dev/null +++ b/builder-support/dockerfiles/Dockerfile.target.el-10 @@ -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