mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Reinstall standard library with netgo
Fixes #9449 Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
parent
62e8a93c34
commit
6ac802ecd8
1 changed files with 3 additions and 0 deletions
|
@ -78,6 +78,9 @@ ENV DOCKER_CROSSPLATFORMS \
|
||||||
ENV GOARM 5
|
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'
|
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
|
# Grab Go's cover tool for dead-simple code coverage testing
|
||||||
RUN go get golang.org/x/tools/cmd/cover
|
RUN go get golang.org/x/tools/cmd/cover
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue