all-in-one/Containers/watchtower/Dockerfile

19 lines
458 B
Text
Raw Normal View History

# syntax=docker/dockerfile:latest
2021-11-30 18:20:42 +08:00
# From https://github.com/containrrr/watchtower/blob/main/dockerfiles/Dockerfile.self-contained
FROM containrrr/watchtower:1.7.1 AS watchtower
2021-11-30 18:20:42 +08:00
FROM alpine:3.20.3
2021-11-30 18:20:42 +08:00
RUN apk upgrade --no-cache -a; \
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
# hadolint ignore=DL3002
USER root
2021-11-30 18:20:42 +08:00
ENTRYPOINT ["/start.sh"]
LABEL com.centurylinklabs.watchtower.enable="false"