summaryrefslogtreecommitdiff
path: root/system/docker/docker.SlackBuild
diff options
context:
space:
mode:
authorAudrius Kažukauskas <audrius@neutrino.lt>2017-03-28 22:02:20 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-01 06:57:17 +0700
commit271b3336eeaeff00875575940a9c4881b03929c0 (patch)
treee3550a82faf77a335c4eef151b6c23e1ed7d48b8 /system/docker/docker.SlackBuild
parent9b82d66214db1d6ae2e9cafe31153a0c198d7601 (diff)
downloadslackbuilds-271b3336eeaeff00875575940a9c4881b03929c0.tar.gz
system/docker: Updated for version 17.03.1.
Signed-off-by: Audrius Kažukauskas <audrius@neutrino.lt>
Diffstat (limited to 'system/docker/docker.SlackBuild')
-rw-r--r--system/docker/docker.SlackBuild17
1 files changed, 9 insertions, 8 deletions
diff --git a/system/docker/docker.SlackBuild b/system/docker/docker.SlackBuild
index 098080c734..b478c96676 100644
--- a/system/docker/docker.SlackBuild
+++ b/system/docker/docker.SlackBuild
@@ -24,12 +24,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=docker
-VERSION=${VERSION:-17.03.0}
-GITHASH=${GITHASH:-60ccb22}
+VERSION=${VERSION:-17.03.1}
+GITHASH=${GITHASH:-c6d412e}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCVERSION=$VERSION-ce
+SRCVER=$VERSION-ce
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -49,9 +49,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVERSION
-tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz
-cd $PRGNAM-$SRCVERSION
+rm -rf $PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
+cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -64,8 +64,9 @@ DOCKER_GITCOMMIT="$GITHASH" \
DOCKER_BUILDTAGS="seccomp" \
./hack/make.sh dynbinary
-install -D -m 0755 bundles/$SRCVERSION/dynbinary-client/docker-$SRCVERSION $PKG/usr/bin/docker
-install -D -m 0755 bundles/$SRCVERSION/dynbinary-daemon/dockerd-$SRCVERSION $PKG/usr/bin/dockerd
+# Install executables.
+install -D -m 0755 bundles/$SRCVER/dynbinary-client/docker-$SRCVER $PKG/usr/bin/docker
+install -D -m 0755 bundles/$SRCVER/dynbinary-daemon/dockerd-$SRCVER $PKG/usr/bin/dockerd
# Integrate required components.
ln -s runc $PKG/usr/bin/docker-runc