From: Peter van Dijk Date: Thu, 15 May 2025 09:11:38 +0000 (+0200) Subject: builder: add centos-10-stream target X-Git-Tag: dnsdist-2.0.0-beta1~44^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57f387262f2d1ceab2adc8ccdd969da362a81825;p=thirdparty%2Fpdns.git builder: add centos-10-stream target --- diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index 2f5ec84603..8bc68cf0c0 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -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 index 0000000000..1a1178fe3b --- /dev/null +++ b/builder-support/dockerfiles/Dockerfile.target.centos-10-stream @@ -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