mirror of
https://github.com/docker/cli.git
synced 2026-01-15 07:40:57 +03:00
Update project/make.sh to use execdriver buildtag if passed.
Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle) Upstream-commit: 547c95957679672c3ed2e97c7a2950d3c0a03321 Component: engine
This commit is contained in:
@@ -93,6 +93,10 @@ if [ -z "$DOCKER_CLIENTONLY" ]; then
|
||||
DOCKER_BUILDTAGS+=" daemon"
|
||||
fi
|
||||
|
||||
if [ "$DOCKER_EXECDRIVER" = 'lxc' ]; then
|
||||
DOCKER_BUILDTAGS+=' test_no_exec'
|
||||
fi
|
||||
|
||||
# Use these flags when compiling the tests and final binary
|
||||
LDFLAGS='
|
||||
-X '$DOCKER_PKG'/dockerversion.GITCOMMIT "'$GITCOMMIT'"
|
||||
|
||||
Reference in New Issue
Block a user