all-in-one/Containers/watchtower/Dockerfile

15 lines
365 B
Text
Raw Normal View History

2021-11-30 18:20:42 +08:00
# From https://github.com/containrrr/watchtower/blob/main/dockerfiles/Dockerfile.self-contained
FROM containrrr/watchtower:1.5.3 as watchtower
2021-11-30 18:20:42 +08:00
FROM alpine:3.18.2
2021-11-30 18:20:42 +08:00
RUN apk add --no-cache bash
COPY --from=watchtower /watchtower /watchtower
2021-11-30 18:20:42 +08:00
COPY --chmod=775 start.sh /start.sh
2021-11-30 18:20:42 +08:00
USER root
2021-11-30 18:20:42 +08:00
ENTRYPOINT ["/start.sh"]
LABEL com.centurylinklabs.watchtower.enable="false"