all-in-one/Containers/watchtower/Dockerfile

15 lines
362 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.17.1
2021-11-30 18:20:42 +08:00
RUN apk add --no-cache bash
2021-11-30 18:20:42 +08:00
COPY --from=watchtower /watchtower /
COPY start.sh /
RUN chmod +x /start.sh
USER root
2021-11-30 18:20:42 +08:00
ENTRYPOINT ["/start.sh"]
LABEL com.centurylinklabs.watchtower.monitor-only="true"