From 6481b40c21a08a3b3a22498094f66c74bbaa6fe7 Mon Sep 17 00:00:00 2001 From: Michael Maroszek Date: Thu, 22 Feb 2024 11:45:13 +0100 Subject: [PATCH] reduce version number to new path scheme --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5a7a8ba..5276463 100644 --- a/Dockerfile +++ b/Dockerfile @@ -78,7 +78,7 @@ USER $USER_UID:$USER_GID RUN \ cd ~ && \ export RUTOS_FILE=RUTX_R_GPL_${RUTOS_VERSION}.tar.gz && \ - wget https://firmware.teltonika-networks.com/7.6.5/RUTX/${RUTOS_FILE} && \ + wget https://firmware.teltonika-networks.com/${${RUTOS_VERSION//0}:1}/RUTX/${RUTOS_FILE} && \ echo "${RUTOS_CHECKSUM} ${RUTOS_FILE}" | md5sum -c --status && \ tar -xf ${RUTOS_FILE} && \ rm ${RUTOS_FILE}