all-in-one/Containers/notify-push/Dockerfile
Simon L bf24c10e9a update to 3.18.2
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-15 15:22:57 +02:00

20 lines
442 B
Docker

FROM alpine:3.18.2
COPY --chmod=775 start.sh /start.sh
RUN set -ex; \
apk add --no-cache \
ca-certificates \
tzdata \
bash \
openssl; \
# Give root a random password
echo "root:$(openssl rand -base64 12)" | chpasswd; \
apk del --no-cache \
openssl;
USER 33
ENTRYPOINT ["/start.sh"]
HEALTHCHECK CMD nc -z localhost 7867 || exit 1
LABEL com.centurylinklabs.watchtower.monitor-only="true"