Merge pull request #201 from nextcloud/enh/185/migrate-watchtower-to-alpine

migrate watchtower container to alpine
This commit is contained in:
Simon L 2022-02-09 21:05:00 +01:00 committed by GitHub
commit bb3bcad752
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 "$@"