all-in-one/Containers/watchtower/Dockerfile
Zoey 9ba0dbf6a3
add # syntax=docker/dockerfile:latest
Signed-off-by: Zoey <zoey@z0ey.de>
2024-02-16 16:21:18 +01:00

16 lines
424 B
Docker

# syntax=docker/dockerfile:latest
# From https://github.com/containrrr/watchtower/blob/main/dockerfiles/Dockerfile.self-contained
FROM containrrr/watchtower:1.7.1 as watchtower
FROM alpine:3.19.1
RUN apk add --no-cache bash
COPY --from=watchtower /watchtower /watchtower
COPY --chmod=775 start.sh /start.sh
# hadolint ignore=DL3002
USER root
ENTRYPOINT ["/start.sh"]
LABEL com.centurylinklabs.watchtower.enable="false"