2016-02-19 22:42:51 +00:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
|
|
|
|
(
|
2016-04-25 17:40:07 +00:00
|
|
|
export BINARY_SHORT_NAME='dockerd'
|
2016-10-31 18:22:28 +00:00
|
|
|
export GO_PACKAGE='github.com/docker/docker/cmd/dockerd'
|
2016-04-25 17:40:07 +00:00
|
|
|
export IAMSTATIC='false'
|
2016-02-19 22:42:51 +00:00
|
|
|
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"
|
|
|
|
)
|