all-in-one/Containers/watchtower/Dockerfile

14 lines
314 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.4.0 as watchtower
2021-11-30 18:20:42 +08:00
FROM alpine:3.16.2
2021-11-30 18:20:42 +08:00
RUN apk add --update --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"]