From 6ac802ecd8e097f49c4b026fd7b5febfc683866c Mon Sep 17 00:00:00 2001 From: Alexander Morozov Date: Thu, 18 Dec 2014 09:06:04 -0800 Subject: [PATCH] Reinstall standard library with netgo Fixes #9449 Signed-off-by: Alexander Morozov --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 94666af860..67e8d8d5a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -78,6 +78,9 @@ ENV DOCKER_CROSSPLATFORMS \ ENV GOARM 5 RUN cd /usr/local/go/src && bash -xc 'for platform in $DOCKER_CROSSPLATFORMS; do GOOS=${platform%/*} GOARCH=${platform##*/} ./make.bash --no-clean 2>&1; done' +# reinstall standard library with netgo +RUN go clean -i net && go install -tags netgo std + # Grab Go's cover tool for dead-simple code coverage testing RUN go get golang.org/x/tools/cmd/cover