2017-02-13 14:01:54 -05:00
|
|
|
#!/usr/bin/env bash
|
2016-02-19 17:42:51 -05:00
|
|
|
set -e
|
|
|
|
|
2021-04-06 19:32:46 -04:00
|
|
|
[ -z "$KEEPDEST" ] && rm -rf "$DEST"
|
|
|
|
|
2016-02-19 17:42:51 -05:00
|
|
|
(
|
2016-04-25 13:40:07 -04:00
|
|
|
export IAMSTATIC='false'
|
2016-02-19 17:42:51 -05:00
|
|
|
export LDFLAGS_STATIC_DOCKER=''
|
2020-03-02 22:27:49 -05:00
|
|
|
export BUILDFLAGS=("${BUILDFLAGS[@]/netgo /}") # disable netgo, since we don't need it for a dynamic binary
|
|
|
|
export BUILDFLAGS=("${BUILDFLAGS[@]/osusergo /}") # ditto for osusergo
|
|
|
|
export BUILDFLAGS=("${BUILDFLAGS[@]/static_build /}") # we're not building a "static" binary here
|
2021-04-06 19:32:46 -04:00
|
|
|
|
|
|
|
GO_PACKAGE='github.com/docker/docker/cmd/dockerd'
|
|
|
|
BINARY_SHORT_NAME='dockerd'
|
2016-02-19 17:42:51 -05:00
|
|
|
source "${MAKEDIR}/.binary"
|
|
|
|
)
|