Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions images/nut-upsd/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ HEALTHCHECK CMD upsc $NAME@localhost:3493 2>&1|grep -q stale && \

RUN apk add --no-cache dash && \
apk add --update --no-cache nut=$NUT_VERSION \
busybox linux-pam \
busybox tini linux-pam \
libcrypto3 libssl3 \
libusb musl net-snmp-libs util-linux

EXPOSE 3493
COPY entrypoint.sh /usr/local/bin/
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
ENTRYPOINT ["/sbin/tini", "--", "/usr/local/bin/entrypoint.sh"]
2 changes: 1 addition & 1 deletion images/nut-upsd/Dockerfile.arm32
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/main' \
echo '@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing' \
>>/etc/apk/repositories && \
apk add --update nut@testing=$NUT_VERSION \
libcrypto1.1@edge libssl1.1@edge net-snmp-libs@edge
libcrypto1.1@edge libssl1.1@edge net-snmp-libs@edge tini

EXPOSE 3493
COPY entrypoint.sh /usr/local/bin/
Expand Down
2 changes: 1 addition & 1 deletion images/nut-upsd/Dockerfile.arm64
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/main' \
echo '@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing' \
>>/etc/apk/repositories && \
apk add --update nut@testing=$NUT_VERSION \
libcrypto1.1@edge libssl1.1@edge net-snmp-libs@edge
libcrypto1.1@edge libssl1.1@edge net-snmp-libs@edge tini

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