mirror of
https://github.com/docker/cli.git
synced 2026-09-28 02:06:53 -04:00
Merge pull request #31198 from docbobo/master-manpages-aarch64
Improved aarch64 build Upstream-commit: 7bf408526442a9561f742992d26d730aea891958 Component: engine
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user