]> git.ipfire.org Git - thirdparty/pdns.git/blob - builder-support/dockerfiles/Dockerfile.target.debian-trixie
Merge pull request #11431 from jroessler-ox/docs-kskzskroll-update
[thirdparty/pdns.git] / builder-support / dockerfiles / Dockerfile.target.debian-trixie
1 # First do the source builds
2 @INCLUDE Dockerfile.target.sdist
3
4 @IF [ ${BUILDER_TARGET} = debian-trixie ]
5 FROM debian:trixie as dist-base
6 @ENDIF
7 @IF [ ${BUILDER_TARGET} = debian-trixie-amd64 ]
8 FROM amd64/debian:trixie as dist-base
9 @ENDIF
10 @IF [ ${BUILDER_TARGET} = debian-trixie-arm64 ]
11 FROM arm64v8/debian:trixie as dist-base
12 @ENDIF
13
14 ARG BUILDER_CACHE_BUSTER=
15 ARG APT_URL
16 RUN apt-get update && apt-get -y dist-upgrade
17
18 @INCLUDE Dockerfile.debbuild-prepare
19
20 @IF [ -n "$M_authoritative$M_all" ]
21 ADD builder-support/debian/authoritative/debian-buster/ pdns-${BUILDER_VERSION}/debian/
22 @ENDIF
23
24 @IF [ -n "$M_recursor$M_all" ]
25 ADD builder-support/debian/recursor/debian-buster/ pdns-recursor-${BUILDER_VERSION}/debian/
26 @ENDIF
27
28 @IF [ -n "$M_dnsdist$M_all" ]
29 ADD builder-support/debian/dnsdist/debian-bookworm/ dnsdist-${BUILDER_VERSION}/debian/
30 @ENDIF
31
32 @INCLUDE Dockerfile.debbuild
33
34 # Do a test install and verify
35 # Can be skipped with skiptests=1 in the environment
36 # @EXEC [ "$skiptests" = "" ] && include Dockerfile.debtest