dynbinary-daemon 418 B

123456789101112
  1. #!/bin/bash
  2. set -e
  3. (
  4. export BINARY_SHORT_NAME='dockerd'
  5. export GO_PACKAGE='github.com/docker/docker/cmd/dockerd'
  6. export IAMSTATIC='false'
  7. export LDFLAGS_STATIC_DOCKER=''
  8. export BUILDFLAGS=( "${BUILDFLAGS[@]/netgo /}" ) # disable netgo, since we don't need it for a dynamic binary
  9. export BUILDFLAGS=( "${BUILDFLAGS[@]/static_build /}" ) # we're not building a "static" binary here
  10. source "${MAKEDIR}/.binary"
  11. )