]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
builder-support: add Debian bullseye dockerfiles
authorChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Thu, 13 May 2021 14:50:03 +0000 (16:50 +0200)
committerChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Thu, 13 May 2021 14:50:03 +0000 (16:50 +0200)
builder-support/dockerfiles/Dockerfile.target.debian-bullseye [new file with mode: 0644]
builder-support/dockerfiles/Dockerfile.target.debian-bullseye-amd64 [new symlink]
builder-support/dockerfiles/Dockerfile.target.debian-bullseye-arm64 [new symlink]

diff --git a/builder-support/dockerfiles/Dockerfile.target.debian-bullseye b/builder-support/dockerfiles/Dockerfile.target.debian-bullseye
new file mode 100644 (file)
index 0000000..fb77dba
--- /dev/null
@@ -0,0 +1,36 @@
+# First do the source builds
+@INCLUDE Dockerfile.target.sdist
+
+@IF [ ${BUILDER_TARGET} = debian-bullseye ]
+FROM debian:bullseye as dist-base
+@ENDIF
+@IF [ ${BUILDER_TARGET} = debian-bullseye-amd64 ]
+FROM amd64/debian:bullseye as dist-base
+@ENDIF
+@IF [ ${BUILDER_TARGET} = debian-bullseye-arm64 ]
+FROM arm64v8/debian:bullseye as dist-base
+@ENDIF
+
+ARG BUILDER_CACHE_BUSTER=
+ARG APT_URL
+RUN apt-get update && apt-get -y dist-upgrade
+
+@INCLUDE Dockerfile.debbuild-prepare
+
+@IF [ -n "$M_authoritative$M_all" ]
+ADD builder-support/debian/authoritative/debian-buster/ pdns-${BUILDER_VERSION}/debian/
+@ENDIF
+
+@IF [ -n "$M_recursor$M_all" ]
+ADD builder-support/debian/recursor/debian-buster/ pdns-recursor-${BUILDER_VERSION}/debian/
+@ENDIF
+
+@IF [ -n "$M_dnsdist$M_all" ]
+ADD builder-support/debian/dnsdist/debian-buster/ dnsdist-${BUILDER_VERSION}/debian/
+@ENDIF
+
+@INCLUDE Dockerfile.debbuild
+
+# Do a test install and verify
+# Can be skipped with skiptests=1 in the environment
+# @EXEC [ "$skiptests" = "" ] && include Dockerfile.debtest
diff --git a/builder-support/dockerfiles/Dockerfile.target.debian-bullseye-amd64 b/builder-support/dockerfiles/Dockerfile.target.debian-bullseye-amd64
new file mode 120000 (symlink)
index 0000000..f7f2fce
--- /dev/null
@@ -0,0 +1 @@
+Dockerfile.target.debian-bullseye
\ No newline at end of file
diff --git a/builder-support/dockerfiles/Dockerfile.target.debian-bullseye-arm64 b/builder-support/dockerfiles/Dockerfile.target.debian-bullseye-arm64
new file mode 120000 (symlink)
index 0000000..f7f2fce
--- /dev/null
@@ -0,0 +1 @@
+Dockerfile.target.debian-bullseye
\ No newline at end of file