Skip to content

Commit

Permalink
Fix download link
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Dec 24, 2023
1 parent 42daf05 commit 5b708e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ ARG VCS_REF
ARG BUILD_DATE

# https://networkupstools.org/download.html
ENV NUT_VERSION_RANGE="2.8"
ENV NUT_VERSION="2.8.1"
ENV NUT_SHA256="7da48ee23b1f0d8d72560bb0af84f5c5ae4dbe35452b84cb49840132e47f099c"

Expand Down Expand Up @@ -49,7 +50,7 @@ RUN set -ex; \
# download and extract
cd /tmp; \
printf '%s nut-2.8.1.tar.gz\n' "$NUT_SHA256" > nut-$NUT_VERSION.tar.gz.sha256; \
wget https://www.networkupstools.org/source/2.7/nut-$NUT_VERSION.tar.gz; \
wget https://www.networkupstools.org/source/$NUT_VERSION_RANGE/nut-$NUT_VERSION.tar.gz; \
tar xfz nut-$NUT_VERSION.tar.gz; \
sha256sum -c -w nut-$NUT_VERSION.tar.gz.sha256; \
cd nut-$NUT_VERSION \
Expand Down

0 comments on commit 5b708e2

Please sign in to comment.