Merge pull request #6553 from tianon/disable-netgo-for-dynbinary
Disable netgo for dynbinary builds Upstream-commit: 506ad22743a233b168fb0053e39e9c5dd1ec92ce Component: engine
This commit is contained in:
@ -40,5 +40,6 @@ fi
|
||||
|
||||
(
|
||||
export LDFLAGS_STATIC_DOCKER="-X github.com/dotcloud/docker/dockerversion.INITSHA1 \"$DOCKER_INITSHA1\" -X github.com/dotcloud/docker/dockerversion.INITPATH \"$DOCKER_INITPATH\""
|
||||
export BUILDFLAGS=( "${BUILDFLAGS[@]/netgo /}" ) # disable netgo, since we don't need it for a dynamic binary
|
||||
source "$(dirname "$BASH_SOURCE")/binary"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user