From 27beb64d468614db0eb7344340d39b5619219a7d Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Wed, 2 Nov 2016 10:11:07 -0700 Subject: [PATCH] Add Ubuntu 16.10 Yakkety Yak Ubuntu 16.10 has been released http://releases.ubuntu.com/yakkety/ Note that this is a short-term release, so will EOL (and removed again) in 9 months Signed-off-by: Sebastiaan van Stijn --- contrib/builder/deb/amd64/generate.sh | 4 ++-- .../builder/deb/amd64/ubuntu-yakkety/Dockerfile | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 contrib/builder/deb/amd64/ubuntu-yakkety/Dockerfile diff --git a/contrib/builder/deb/amd64/generate.sh b/contrib/builder/deb/amd64/generate.sh index c371e3c7ab..d381937ba6 100755 --- a/contrib/builder/deb/amd64/generate.sh +++ b/contrib/builder/deb/amd64/generate.sh @@ -81,8 +81,8 @@ for version in "${versions[@]}"; do # packaging for "sd-journal.h" and libraries varies case "$suite" in precise|wheezy) ;; - sid|stretch|xenial) packages+=( libsystemd-dev );; - *) packages+=( libsystemd-journal-dev );; + jessie|trusty) packages+=( libsystemd-journal-dev );; + *) packages+=( libsystemd-dev );; esac # debian wheezy & ubuntu precise do not have the right libseccomp libs diff --git a/contrib/builder/deb/amd64/ubuntu-yakkety/Dockerfile b/contrib/builder/deb/amd64/ubuntu-yakkety/Dockerfile new file mode 100644 index 0000000000..16e6f80b95 --- /dev/null +++ b/contrib/builder/deb/amd64/ubuntu-yakkety/Dockerfile @@ -0,0 +1,16 @@ +# +# THIS FILE IS AUTOGENERATED; SEE "contrib/builder/deb/amd64/generate.sh"! +# + +FROM ubuntu:yakkety + +RUN apt-get update && apt-get install -y apparmor bash-completion btrfs-tools build-essential curl ca-certificates debhelper dh-apparmor dh-systemd git libapparmor-dev libdevmapper-dev libltdl-dev libseccomp-dev libsqlite3-dev pkg-config libsystemd-dev --no-install-recommends && rm -rf /var/lib/apt/lists/* + +ENV GO_VERSION 1.7.3 +RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz" | tar xzC /usr/local +ENV PATH $PATH:/usr/local/go/bin + +ENV AUTO_GOPATH 1 + +ENV DOCKER_BUILDTAGS apparmor pkcs11 seccomp selinux +ENV RUNC_BUILDTAGS apparmor seccomp selinux