2016-02-19 17:42:51 -05:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
|
|
|
|
(
|
2016-04-25 13:40:07 -04:00
|
|
|
export BINARY_SHORT_NAME='dockerd'
|
2016-04-23 21:31:57 -04:00
|
|
|
export SOURCE_PATH='./cmd/dockerd'
|
2016-04-25 13:40:07 -04:00
|
|
|
export IAMSTATIC='false'
|
2016-02-19 17:42:51 -05: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"
|
2016-06-03 12:28:14 -04:00
|
|
|
export BINARY_SHORT_NAME='docker-proxy'
|
|
|
|
export SOURCE_PATH='./vendor/src/github.com/docker/libnetwork/cmd/proxy'
|
2016-07-12 22:59:48 -04:00
|
|
|
export LDFLAGS_STATIC_DOCKER='-linkmode=external'
|
2016-06-03 12:28:14 -04:00
|
|
|
source "${MAKEDIR}/.binary"
|
2016-02-19 17:42:51 -05:00
|
|
|
)
|