From 2eeeff85dcef8bd684425a56dda5ae83b3f5fc58 Mon Sep 17 00:00:00 2001 From: Eli Uriegas Date: Wed, 30 Aug 2017 11:04:15 -0700 Subject: [PATCH] Adds ppc64le builds for ubuntu zesty Signed-off-by: Eli Uriegas --- deb/ubuntu-zesty/Dockerfile.ppc64le | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 deb/ubuntu-zesty/Dockerfile.ppc64le diff --git a/deb/ubuntu-zesty/Dockerfile.ppc64le b/deb/ubuntu-zesty/Dockerfile.ppc64le new file mode 100644 index 0000000000..8e9ceb1378 --- /dev/null +++ b/deb/ubuntu-zesty/Dockerfile.ppc64le @@ -0,0 +1,28 @@ +FROM ppc64le/ubuntu:zesty + +RUN apt-get update && apt-get install -y apparmor bash-completion btrfs-tools build-essential cmake curl ca-certificates debhelper dh-apparmor dh-systemd git libapparmor-dev libdevmapper-dev pkg-config vim-common libseccomp-dev libsystemd-dev libltdl-dev --no-install-recommends && rm -rf /var/lib/apt/lists/* + +ENV GO_VERSION 1.8.3 +RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-ppc64le.tar.gz" | tar xzC /usr/local +ENV GOPATH /go +ENV PATH $PATH:/usr/local/go/bin:/$GOPATH/bin +ENV DOCKER_BUILDTAGS apparmor pkcs11 seccomp selinux +ENV RUNC_BUILDTAGS apparmor seccomp selinux + +COPY common/ /root/build-deb/debian +COPY build-deb /root/build-deb/build-deb + +RUN mkdir -p /go/src/github.com/docker && \ + mkdir -p /go/src/github.com/opencontainers && \ + ln -snf /engine /root/build-deb/engine && \ + ln -snf /cli /root/build-deb/cli && \ + ln -snf /root/build-deb/engine /go/src/github.com/docker/docker && \ + ln -snf /root/build-deb/cli /go/src/github.com/docker/cli + + +ENV DISTRO ubuntu +ENV SUITE zesty + +WORKDIR /root/build-deb + +ENTRYPOINT ["/root/build-deb/build-deb"]