all-in-one/Containers/watchtower/Dockerfile
szaimen 4b28a6a7d7 migrate watchtower container to alpine
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-02-09 20:43:09 +01:00

13 lines
315 B
Docker

# From https://github.com/containrrr/watchtower/blob/main/dockerfiles/Dockerfile.self-contained
FROM containrrr/watchtower:latest as watchtower
FROM alpine:latest
RUN apk add --update --no-cache bash
COPY --from=watchtower /watchtower /
COPY start.sh /
RUN chmod +x /start.sh
USER root
ENTRYPOINT ["/start.sh"]