mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00

go 1.7.4 introduced official go ppc64le binaries, so use those instead of using older versions of go and building from src. Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com>
16 lines
681 B
Docker
16 lines
681 B
Docker
#
|
|
# THIS FILE IS AUTOGENERATED; SEE "contrib/builder/deb/ppc64le/generate.sh"!
|
|
#
|
|
|
|
FROM ppc64le/ubuntu:trusty
|
|
|
|
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 libltdl-dev libsqlite3-dev pkg-config vim-common libsystemd-journal-dev --no-install-recommends && rm -rf /var/lib/apt/lists/*
|
|
|
|
ENV GO_VERSION 1.7.4
|
|
RUN curl -fsSL "https://golang.org/dl/go${GO_VERSION}.linux-ppc64le.tar.gz" | tar xzC /usr/local
|
|
ENV PATH $PATH:/usr/local/go/bin
|
|
|
|
ENV AUTO_GOPATH 1
|
|
|
|
ENV DOCKER_BUILDTAGS apparmor pkcs11 selinux
|
|
ENV RUNC_BUILDTAGS apparmor selinux
|