github.com/duglin/docker@v1.13.1/hack/make/dynbinary-client (about)

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