mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
system/docker: Updated for version 1.4.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
b3e77bae26
commit
b8d9dc1de0
3 changed files with 7 additions and 6 deletions
|
@ -12,6 +12,7 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
|
||||||
|
|
||||||
BASE=docker
|
BASE=docker
|
||||||
|
|
||||||
|
UNSHARE=/usr/bin/unshare
|
||||||
DOCKER=/usr/bin/$BASE
|
DOCKER=/usr/bin/$BASE
|
||||||
DOCKER_PIDFILE=/var/run/$BASE.pid
|
DOCKER_PIDFILE=/var/run/$BASE.pid
|
||||||
DOCKER_LOG=/var/log/docker.log
|
DOCKER_LOG=/var/log/docker.log
|
||||||
|
@ -37,7 +38,7 @@ docker_start() {
|
||||||
rm -f ${DOCKER_PIDFILE}
|
rm -f ${DOCKER_PIDFILE}
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
nohup ${DOCKER} -d -p ${DOCKER_PIDFILE} ${DOCKER_OPTS} >> ${DOCKER_LOG} 2>&1 &
|
nohup "${UNSHARE}" -m -- ${DOCKER} -d -p ${DOCKER_PIDFILE} ${DOCKER_OPTS} >> ${DOCKER_LOG} 2>&1 &
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
# Written by Vincent Batts <vbatts@hashbangbash.com>
|
# Written by Vincent Batts <vbatts@hashbangbash.com>
|
||||||
|
|
||||||
PRGNAM=docker
|
PRGNAM=docker
|
||||||
VERSION=${VERSION:-1.3.1}
|
VERSION=${VERSION:-1.4.1}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
GITHASH=${GITHASH:-4e9bbfa}
|
GITHASH=${GITHASH:-5bc2ff8}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="docker"
|
PRGNAM="docker"
|
||||||
VERSION="1.3.1"
|
VERSION="1.4.1"
|
||||||
HOMEPAGE="https://docker.io/"
|
HOMEPAGE="https://docker.io/"
|
||||||
DOWNLOAD="UNSUPPORTED"
|
DOWNLOAD="UNSUPPORTED"
|
||||||
MD5SUM=""
|
MD5SUM=""
|
||||||
DOWNLOAD_x86_64="https://github.com/docker/docker/archive/v1.3.1.tar.gz"
|
DOWNLOAD_x86_64="https://github.com/docker/docker/archive/v1.4.1.tar.gz"
|
||||||
MD5SUM_x86_64="098c366f9c8eb82ba537b93eec66303e"
|
MD5SUM_x86_64="70068f2f59e8d4241ca344dcacdd2058"
|
||||||
REQUIRES="google-go-lang"
|
REQUIRES="google-go-lang"
|
||||||
MAINTAINER="Vincent Batts"
|
MAINTAINER="Vincent Batts"
|
||||||
EMAIL="vbatts@hashbangbash.com"
|
EMAIL="vbatts@hashbangbash.com"
|
||||||
|
|
Loading…
Reference in a new issue