From 4b28a6a7d71f523b7f7b78ddacbbef6368276531 Mon Sep 17 00:00:00 2001 From: szaimen Date: Wed, 9 Feb 2022 19:16:49 +0100 Subject: [PATCH] migrate watchtower container to alpine Signed-off-by: szaimen --- Containers/watchtower/Dockerfile | 11 ++--------- Containers/watchtower/start.sh | 1 - 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/Containers/watchtower/Dockerfile b/Containers/watchtower/Dockerfile index 97e2c8ee..60af8195 100644 --- a/Containers/watchtower/Dockerfile +++ b/Containers/watchtower/Dockerfile @@ -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 / diff --git a/Containers/watchtower/start.sh b/Containers/watchtower/start.sh index 34b7b7a8..1f6e3097 100644 --- a/Containers/watchtower/start.sh +++ b/Containers/watchtower/start.sh @@ -16,5 +16,4 @@ else exit 1 fi - exec "$@"