From 6dcf41cb7c6fb712b9e40393be25dc73c12c521c Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Tue, 6 Feb 2018 19:37:56 +0100 Subject: [PATCH] Add bionic to the build targets --- .../Dockerfile.target.ubuntu-bionic | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 builder-support/dockerfiles/Dockerfile.target.ubuntu-bionic diff --git a/builder-support/dockerfiles/Dockerfile.target.ubuntu-bionic b/builder-support/dockerfiles/Dockerfile.target.ubuntu-bionic new file mode 100644 index 000000000..09a3b4cc8 --- /dev/null +++ b/builder-support/dockerfiles/Dockerfile.target.ubuntu-bionic @@ -0,0 +1,26 @@ +# First do the source builds +@INCLUDE Dockerfile.target.sdist + +FROM ubuntu:bionic as dist-base +ARG APT_URL +RUN apt-get update && apt-get -y dist-upgrade + +@INCLUDE Dockerfile.debbuild-prepare + +@IF [ ! -z "$M_authoritative" ] +ADD builder-support/debian/authoritative/debian-stretch/ pdns-${BUILDER_VERSION}/debian/ +@ENDIF + +@IF [ ! -z "$M_recursor" ] +ADD builder-support/debian/recursor/debian-stretch/ pdns-recursor-${BUILDER_VERSION}/debian/ +@ENDIF + +@IF [ ! -z "$M_dnsdist" ] +ADD builder-support/debian/dnsdist/debian-stretch/ 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 -- 2.40.0