Skip to content

Commit

Permalink
add util-linux dependency (#146)
Browse files Browse the repository at this point in the history
At times the application tries to use kill if it discovers a .pid (may be after a reboot) and the wall command, these two commands are available in util-linux
  • Loading branch information
agalera committed Apr 23, 2024
1 parent e03d583 commit d4b95d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/nut-upsd/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ HEALTHCHECK CMD upsc $NAME@localhost:3493 2>&1|grep -q stale && \
kill -SIGTERM -1 || true

RUN apk add --update nut=$NUT_VERSION \
libcrypto3 libssl3 libusb musl net-snmp-libs
libcrypto3 libssl3 libusb musl net-snmp-libs util-linux

EXPOSE 3493
COPY entrypoint.sh /usr/local/bin/
Expand Down

0 comments on commit d4b95d9

Please sign in to comment.