all-in-one/Containers/watchtower/Dockerfile

13 lines
360 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.3
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
ENTRYPOINT ["/start.sh"]
LABEL com.centurylinklabs.watchtower.monitor-only="true"