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:
Justin Cormack
2016-10-19 00:30:47 +01:00
parent b33468451a
commit 44e77a4b4f
20 changed files with 35 additions and 428 deletions

View File

@ -9,8 +9,5 @@ set -e
export BINARY_SHORT_NAME="$DOCKER_DAEMON_BINARY_NAME"
export SOURCE_PATH='./cmd/dockerd'
source "${MAKEDIR}/.binary"
export BINARY_SHORT_NAME="$DOCKER_PROXY_BINARY_NAME"
export SOURCE_PATH='./vendor/src/github.com/docker/libnetwork/cmd/proxy'
source "${MAKEDIR}/.binary"
copy_binaries "$DEST" 'hash'
)