aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAudrius Kažukauskas <audrius@neutrino.lt>2017-11-19 18:40:39 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-11-20 17:59:20 +0700
commit51444908a9a6177c1be948e072bb14bfd983b17f (patch)
tree2721c09681938228b7bd4935b28992003e2a1f07
parent5cca99aa16f328d6c6c037e730a585cd071a8549 (diff)
system/docker: Disable warning when building CLI.
This also prevents 10 second sleep. Signed-off-by: Audrius Kažukauskas <audrius@neutrino.lt>
-rw-r--r--system/docker/docker.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/docker/docker.SlackBuild b/system/docker/docker.SlackBuild
index bb0744e5e42b..b04e4292945c 100644
--- a/system/docker/docker.SlackBuild
+++ b/system/docker/docker.SlackBuild
@@ -79,10 +79,11 @@ cd ../..
# Build CLI.
cd components/cli
+DISABLE_WARN_OUTSIDE_CONTAINER=1 \
make dynbinary \
GITCOMMIT=$GITHASH \
VERSION=$(cat VERSION) \
- GOPATH=$TMP/$SRCNAM-$SRCVER/build \
+ GOPATH=$TMP/$SRCNAM-$SRCVER/build
install -D -m 0755 build/docker-linux-amd64 $PKG/usr/bin/docker
cd ../..