IAmStatic not used anymore
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
(cherry picked from commit 84ea9ee0f9
)
This commit is contained in:
parent
5d4ddce5ed
commit
29758a067f
5 changed files with 0 additions and 5 deletions
|
@ -6,7 +6,6 @@ var (
|
||||||
GitCommit = "library-import"
|
GitCommit = "library-import"
|
||||||
Version = "library-import"
|
Version = "library-import"
|
||||||
BuildTime = "library-import"
|
BuildTime = "library-import"
|
||||||
IAmStatic = "library-import"
|
|
||||||
PlatformName = ""
|
PlatformName = ""
|
||||||
ProductName = ""
|
ProductName = ""
|
||||||
DefaultProductLicense = ""
|
DefaultProductLicense = ""
|
||||||
|
|
|
@ -102,7 +102,6 @@ fi
|
||||||
|
|
||||||
# Use these flags when compiling the tests and final binary
|
# Use these flags when compiling the tests and final binary
|
||||||
|
|
||||||
IAMSTATIC='true'
|
|
||||||
if [ -z "$DOCKER_DEBUG" ]; then
|
if [ -z "$DOCKER_DEBUG" ]; then
|
||||||
LDFLAGS='-w'
|
LDFLAGS='-w'
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -4,7 +4,6 @@ LDFLAGS="${LDFLAGS} \
|
||||||
-X \"github.com/docker/docker/dockerversion.Version=${VERSION}\" \
|
-X \"github.com/docker/docker/dockerversion.Version=${VERSION}\" \
|
||||||
-X \"github.com/docker/docker/dockerversion.GitCommit=${GITCOMMIT}\" \
|
-X \"github.com/docker/docker/dockerversion.GitCommit=${GITCOMMIT}\" \
|
||||||
-X \"github.com/docker/docker/dockerversion.BuildTime=${BUILDTIME}\" \
|
-X \"github.com/docker/docker/dockerversion.BuildTime=${BUILDTIME}\" \
|
||||||
-X \"github.com/docker/docker/dockerversion.IAmStatic=${IAMSTATIC:-true}\" \
|
|
||||||
-X \"github.com/docker/docker/dockerversion.PlatformName=${PLATFORM}\" \
|
-X \"github.com/docker/docker/dockerversion.PlatformName=${PLATFORM}\" \
|
||||||
-X \"github.com/docker/docker/dockerversion.ProductName=${PRODUCT}\" \
|
-X \"github.com/docker/docker/dockerversion.ProductName=${PRODUCT}\" \
|
||||||
-X \"github.com/docker/docker/dockerversion.DefaultProductLicense=${DEFAULT_PRODUCT_LICENSE}\" \
|
-X \"github.com/docker/docker/dockerversion.DefaultProductLicense=${DEFAULT_PRODUCT_LICENSE}\" \
|
||||||
|
|
|
@ -4,7 +4,6 @@ set -e
|
||||||
[ -z "$KEEPDEST" ] && rm -rf "$DEST"
|
[ -z "$KEEPDEST" ] && rm -rf "$DEST"
|
||||||
|
|
||||||
(
|
(
|
||||||
export IAMSTATIC='false'
|
|
||||||
export LDFLAGS_STATIC_DOCKER=''
|
export LDFLAGS_STATIC_DOCKER=''
|
||||||
export BUILDFLAGS=("${BUILDFLAGS[@]/netgo /}") # disable netgo, since we don't need it for a dynamic binary
|
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[@]/osusergo /}") # ditto for osusergo
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
(
|
(
|
||||||
export IAMSTATIC='false'
|
|
||||||
export LDFLAGS_STATIC_DOCKER=''
|
export LDFLAGS_STATIC_DOCKER=''
|
||||||
export BUILDFLAGS=("${BUILDFLAGS[@]/netgo /}") # disable netgo, since we don't need it for a dynamic binary
|
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[@]/osusergo /}") # ditto for osusergo
|
||||||
|
|
Loading…
Reference in a new issue