2017-02-13 19:01:54 +00:00
|
|
|
#!/usr/bin/env bash
|
2016-02-19 22:42:51 +00:00
|
|
|
set -e
|
|
|
|
|
2021-04-06 23:32:46 +00:00
|
|
|
[ -z "$KEEPDEST" ] && rm -rf "$DEST"
|
|
|
|
|
2016-02-19 22:42:51 +00:00
|
|
|
(
|
2023-01-18 19:24:31 +00:00
|
|
|
export LDFLAGS_STATIC=''
|
2020-03-03 03:27:49 +00: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 23:32:46 +00:00
|
|
|
|
|
|
|
GO_PACKAGE='github.com/docker/docker/cmd/dockerd'
|
2022-07-02 14:57:51 +00:00
|
|
|
BINARY_NAME='dockerd'
|
2016-02-19 22:42:51 +00:00
|
|
|
source "${MAKEDIR}/.binary"
|
|
|
|
)
|