Merge pull request #31198 from docbobo/master-manpages-aarch64

Improved aarch64 build
Upstream-commit: 7bf408526442a9561f742992d26d730aea891958
Component: engine
This commit is contained in:
Vincent Demeester
2017-03-07 13:53:48 +01:00
committed by GitHub
2 changed files with 38 additions and 6 deletions
+10 -1
View File
@@ -1,6 +1,15 @@
FROM aarch64/ubuntu:xenial
RUN apt-get update && apt-get install -y git golang-go
RUN apt-get update && apt-get install -y git golang-go curl
ENV GO_VERSION 1.7.5
ENV GOARCH arm64
ENV PATH /go/bin:/usr/src/go/bin:$PATH
RUN mkdir /usr/src/go && \
curl -fsSL https://golang.org/dl/go${GO_VERSION}.src.tar.gz | tar -v -C /usr/src/go -xz --strip-components=1 && \
cd /usr/src/go/src && \
GOOS=linux GOARCH=arm64 GOROOT_BOOTSTRAP="$(go env GOROOT)" ./make.bash
RUN mkdir -p /go/src /go/bin /go/pkg
ENV GOPATH=/go