summaryrefslogtreecommitdiffstats
path: root/system/docker/docker.SlackBuild
diff options
context:
space:
mode:
author Audrius Kažukauskas <audrius@neutrino.lt>2017-11-19 18:40:39 +0200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2017-11-20 17:59:20 +0700
commit51444908a9a6177c1be948e072bb14bfd983b17f (patch)
tree2721c09681938228b7bd4935b28992003e2a1f07 /system/docker/docker.SlackBuild
parent5cca99aa16f328d6c6c037e730a585cd071a8549 (diff)
downloadslackbuilds-51444908a9a6177c1be948e072bb14bfd983b17f.tar.gz
slackbuilds-51444908a9a6177c1be948e072bb14bfd983b17f.tar.xz
system/docker: Disable warning when building CLI.
This also prevents 10 second sleep. Signed-off-by: Audrius Kažukauskas <audrius@neutrino.lt>
Diffstat (limited to 'system/docker/docker.SlackBuild')
-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 bb0744e5e4..b04e429294 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 ../..