mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
migrate watchtower container to alpine
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
ad5e3c3f51
commit
4b28a6a7d7
2 changed files with 2 additions and 10 deletions
|
|
@ -1,16 +1,9 @@
|
||||||
# From https://github.com/containrrr/watchtower/blob/main/dockerfiles/Dockerfile.self-contained
|
# From https://github.com/containrrr/watchtower/blob/main/dockerfiles/Dockerfile.self-contained
|
||||||
FROM containrrr/watchtower:latest as watchtower
|
FROM containrrr/watchtower:latest as watchtower
|
||||||
|
|
||||||
FROM debian:bullseye
|
FROM alpine:latest
|
||||||
|
|
||||||
RUN set -ex; \
|
|
||||||
\
|
|
||||||
apt-get update; \
|
|
||||||
apt-get install -y --no-install-recommends \
|
|
||||||
ca-certificates \
|
|
||||||
; \
|
|
||||||
rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
|
RUN apk add --update --no-cache bash
|
||||||
COPY --from=watchtower /watchtower /
|
COPY --from=watchtower /watchtower /
|
||||||
|
|
||||||
COPY start.sh /
|
COPY start.sh /
|
||||||
|
|
|
||||||
|
|
@ -16,5 +16,4 @@ else
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
exec "$@"
|
exec "$@"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue