From 30b9e3e1cc5cfefef50669052d850d90d3eae493 Mon Sep 17 00:00:00 2001 From: thelamer Date: Mon, 25 Feb 2019 23:25:07 -0800 Subject: [PATCH] updating dockerfiles for unstable forgot about verion tag stripping --- Dockerfile | 3 ++- Dockerfile.aarch64 | 3 ++- Dockerfile.armhf | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index e6685d6..af0fd4c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,8 @@ RUN \ if [ -z ${SABNZBD_VERSION+x} ]; then \ SABNZBD="sabnzbdplus"; \ else \ - SABNZBD="sabnzbdplus=${SABNZBD_VERSION}"; \ + SABNZBD_CLEAN=$(echo "${SABNZBD_VERSION}"| sed 's/..$//') && \ + SABNZBD="sabnzbdplus=${SABNZBD_CLEAN}"; \ fi && \ apt-get update && \ apt-get install -y \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 9529e07..cfd6e77 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -30,7 +30,8 @@ RUN \ if [ -z ${SABNZBD_VERSION+x} ]; then \ SABNZBD="sabnzbdplus"; \ else \ - SABNZBD="sabnzbdplus=${SABNZBD_VERSION}"; \ + SABNZBD_CLEAN=$(echo "${SABNZBD_VERSION}"| sed 's/..$//') && \ + SABNZBD="sabnzbdplus=${SABNZBD_CLEAN}"; \ fi && \ apt-get update && \ apt-get install -y \ diff --git a/Dockerfile.armhf b/Dockerfile.armhf index 7723bd2..20494fc 100644 --- a/Dockerfile.armhf +++ b/Dockerfile.armhf @@ -30,7 +30,8 @@ RUN \ if [ -z ${SABNZBD_VERSION+x} ]; then \ SABNZBD="sabnzbdplus"; \ else \ - SABNZBD="sabnzbdplus=${SABNZBD_VERSION}"; \ + SABNZBD_CLEAN=$(echo "${SABNZBD_VERSION}"| sed 's/..$//') && \ + SABNZBD="sabnzbdplus=${SABNZBD_CLEAN}"; \ fi && \ apt-get update && \ apt-get install -y \