3996975b08
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>
12 lines
396 B
Bash
12 lines
396 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
(
|
|
export BINARY_SHORT_NAME='dockerd'
|
|
export SOURCE_PATH='./cmd/dockerd'
|
|
export IAMSTATIC='false'
|
|
export LDFLAGS_STATIC_DOCKER=''
|
|
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"
|
|
)
|