migrate watchtower container to alpine

Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
szaimen 2022-02-09 19:16:49 +01:00
parent ad5e3c3f51
commit 4b28a6a7d7
2 changed files with 2 additions and 10 deletions

View file

@ -1,16 +1,9 @@
# 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/*
FROM alpine:latest
RUN apk add --update --no-cache bash
COPY --from=watchtower /watchtower /
COPY start.sh /

View file

@ -16,5 +16,4 @@ else
exit 1
fi
exec "$@"