Build docker-proxy from git checkout like other external binaries
This means we can vendor libnetwork without special casing, and it is built the same way as the other external binaries. Signed-off-by: Justin Cormack <justin.cormack@docker.com> Upstream-commit: 3996975b0840033bda3919440d122d734a4bc66b Component: engine
This commit is contained in:
@ -9,8 +9,4 @@ set -e
|
||||
export BUILDFLAGS=( "${BUILDFLAGS[@]/netgo /}" ) # disable netgo, since we don't need it for a dynamic binary
|
||||
export BUILDFLAGS=( "${BUILDFLAGS[@]/static_build /}" ) # we're not building a "static" binary here
|
||||
source "${MAKEDIR}/.binary"
|
||||
export BINARY_SHORT_NAME='docker-proxy'
|
||||
export SOURCE_PATH='./vendor/src/github.com/docker/libnetwork/cmd/proxy'
|
||||
export LDFLAGS_STATIC_DOCKER='-linkmode=external'
|
||||
source "${MAKEDIR}/.binary"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user