From 9b80ff5665c67ccc1846267de82975c60448aa1a Mon Sep 17 00:00:00 2001 From: Andrew Hsu Date: Fri, 1 Dec 2017 14:56:19 -0800 Subject: [PATCH] use pre-compiled golang arm64 toolset Signed-off-by: Andrew Hsu Upstream-commit: 30c250b285e758b295e010eee64b726cdac0e7be Component: packaging --- components/packaging/deb/ubuntu-xenial/Dockerfile.aarch64 | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/components/packaging/deb/ubuntu-xenial/Dockerfile.aarch64 b/components/packaging/deb/ubuntu-xenial/Dockerfile.aarch64 index d195bcc2d8..81dfd98056 100644 --- a/components/packaging/deb/ubuntu-xenial/Dockerfile.aarch64 +++ b/components/packaging/deb/ubuntu-xenial/Dockerfile.aarch64 @@ -8,10 +8,7 @@ RUN apt-get update && apt-get install -y golang-go apparmor bash-completion btrf # We don't use the official ARMv6 released binaries as a GOROOT_BOOTSTRAP, because # not all ARM64 platforms support 32-bit mode. 32-bit mode is optional for ARMv8. ENV GO_VERSION 1.9.2 -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 curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-arm64.tar.gz" | tar xzC /usr/local ENV GOPATH /go ENV PATH /go/bin:/usr/src/go/bin:$PATH ENV DOCKER_BUILDTAGS apparmor seccomp selinux