Files
docker-cli/components/engine/hack/make/dynbinary-client
Ken Cochrane 33e8b136d5 Change name from docker-client to docker in dynbinary-client
Signed-off-by: Ken Cochrane <kencochrane@gmail.com>
Upstream-commit: f9e03d52e9b4b80cf869f0c279278dcb8340f585
Component: engine
2016-04-25 10:44:37 -04:00

13 lines
396 B
Bash

#!/bin/bash
set -e
(
export BINARY_SHORT_NAME="docker"
export SOURCE_PATH="./client"
export IAMSTATIC="false"
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"
)