all-in-one/Containers/watchtower/Dockerfile
szaimen 01e8e11fa2 adjust things
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-12-03 12:33:23 +01:00

20 lines
439 B
Docker

# From https://github.com/containrrr/watchtower/blob/main/dockerfiles/Dockerfile.self-contained
FROM containrrr/watchtower:latest as watchtower
FROM debian:bullseye
RUN set -ex; \
\
apt-get update; \
apt-get install -y --no-install-recommends \
ca-certificates \
; \
rm -rf /var/lib/apt/lists/*
COPY --from=watchtower /watchtower /
COPY start.sh /
RUN chmod +x /start.sh
USER root
ENTRYPOINT ["/start.sh"]