]> granicus.if.org Git - pdns/commitdiff
Add Ubuntu Cosmic Cuttlefish build target
authorPieter Lexis <pieter.lexis@powerdns.com>
Fri, 5 Oct 2018 07:46:32 +0000 (09:46 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Fri, 5 Oct 2018 07:46:32 +0000 (09:46 +0200)
builder-support/dockerfiles/Dockerfile.target.ubuntu-cosmic [new file with mode: 0644]

diff --git a/builder-support/dockerfiles/Dockerfile.target.ubuntu-cosmic b/builder-support/dockerfiles/Dockerfile.target.ubuntu-cosmic
new file mode 100644 (file)
index 0000000..f13c7d1
--- /dev/null
@@ -0,0 +1,26 @@
+# First do the source builds
+@INCLUDE Dockerfile.target.sdist
+
+FROM ubuntu:cosmic 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