Skip to content

Commit

Permalink
Merge pull request #46 from JediNite/docker-v19.03.3
Browse files Browse the repository at this point in the history
Updates to docker v19.03.3 and use of $VERSION variable
  • Loading branch information
JediNite authored Oct 11, 2019
2 parents e6dcc98 + 0a2508f commit 8ff495a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion wdpk/docker/apkg.rc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: docker
Version: 19.03.2
Version: 19.03.3
Packager: TFL
Email:
Homepage: https://docker.com
Expand Down
7 changes: 5 additions & 2 deletions wdpk/docker/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
path_src=$1
NAS_PROG=$2

# define docker version
VERSION="19.03.3"

log=/tmp/debug_apkg

APKG_MODULE="docker"
Expand All @@ -21,13 +24,13 @@ ARCH="$(uname -m)"

# download docker binaries
cd "${APKG_PATH}"
TARBALL="docker-19.03.2.tgz"
TARBALL="docker-${VERSION}.tgz"

if [ ${ARCH} != "x86_64" ]; then
ARCH="armel"
# JediNite provides custom docker packages for ARM
# They are based on docker-runc without seccomp, as the kernel doesn't support it
URL="https://github.com/JediNite/docker-ce-WDEX4100-binaries/raw/master/armv7l-WDEX4100/${TARBALL}"
URL="https://github.com/JediNite/docker-ce-WDEX4100-binaries/releases/download/${VERSION}/${TARBALL}"
else
URL="https://download.docker.com/linux/static/stable/${ARCH}/${TARBALL}"
fi
Expand Down

0 comments on commit 8ff495a

Please sign in to comment.