From da382044d3630bcdeb1eac64f2f7ad476e0cf007 Mon Sep 17 00:00:00 2001 From: Christopher Jones Date: Thu, 3 Nov 2016 15:59:59 -0400 Subject: [PATCH] [ppc64le] add yakkety yak to 'make deb' This adds 'make deb' support for yakkety yak on ppc64le Signed-off-by: Christopher Jones --- .../deb/ppc64le/ubuntu-yakkety/Dockerfile | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 contrib/builder/deb/ppc64le/ubuntu-yakkety/Dockerfile diff --git a/contrib/builder/deb/ppc64le/ubuntu-yakkety/Dockerfile b/contrib/builder/deb/ppc64le/ubuntu-yakkety/Dockerfile new file mode 100644 index 0000000000..6a29d4f592 --- /dev/null +++ b/contrib/builder/deb/ppc64le/ubuntu-yakkety/Dockerfile @@ -0,0 +1,28 @@ +# +# THIS FILE IS AUTOGENERATED; SEE "contrib/builder/deb/ppc64le/generate.sh"! +# + +FROM ppc64le/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 libsqlite3-dev pkg-config golang-go libseccomp-dev libsystemd-dev --no-install-recommends && rm -rf /var/lib/apt/lists/* + +# Install Go +# ppc64le doesn't have official go binaries, so use a distro packaged version +# to build go from source. +# NOTE: ppc64le has compatibility issues with older versions of go, so make sure the version >= 1.6 +ENV GO_VERSION 1.7.3 +ENV GO_DOWNLOAD_URL https://storage.googleapis.com/golang/go${GO_VERSION}.src.tar.gz +ENV GOROOT_BOOTSTRAP /usr/lib/go-1.6 + +RUN curl -fsSL "$GO_DOWNLOAD_URL" -o golang.tar.gz \ + && tar -C /usr/local -xzf golang.tar.gz \ + && rm golang.tar.gz \ + && cd /usr/local/go/src && ./make.bash 2>&1 \ + && apt-get purge -y golang-go && apt-get autoremove -y + +ENV PATH $PATH:/usr/local/go/bin + +ENV AUTO_GOPATH 1 + +ENV DOCKER_BUILDTAGS apparmor pkcs11 seccomp selinux +ENV RUNC_BUILDTAGS apparmor seccomp selinux