Skip to content

Commit

Permalink
Updated image for NUT 3.1 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
shawly committed Feb 25, 2021
1 parent 724bd80 commit 95b7180
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ARG QEMU_ARCH
ARG PYTHON_VERSION=alpine

# Set vars for s6 overlay
ARG S6_OVERLAY_VERSION=v2.1.0.2
ARG S6_OVERLAY_VERSION=v2.2.0.3
ARG S6_OVERLAY_ARCH=amd64
ARG S6_OVERLAY_RELEASE=https://github.com/just-containers/s6-overlay/releases/download/${S6_OVERLAY_VERSION}/s6-overlay-${S6_OVERLAY_ARCH}.tar.gz

Expand Down Expand Up @@ -60,6 +60,8 @@ RUN \
libffi-dev \
curl-dev \
jpeg-dev \
cargo \
rust \
zlib-dev && \
echo "Installing runtime dependencies..." && \
apk add --no-cache \
Expand All @@ -81,6 +83,7 @@ RUN \
mv -v /nut/conf /nut/conf_template && \
echo "Removing pyqt5 from requirements.txt since we have no gui..." && \
sed -i '/pyqt5/d' requirements.txt && \
sed -i '/qt-range-slider/d' requirements.txt && \
echo "Installing python packages..." && \
pip3 install --no-cache -r requirements.txt && \
echo "Removing unneeded build dependencies..." && \
Expand Down

0 comments on commit 95b7180

Please sign in to comment.