mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-01 19:41:44 +08:00
Merge pull request #201 from nextcloud/enh/185/migrate-watchtower-to-alpine
migrate watchtower container to alpine
This commit is contained in:
commit
bb3bcad752
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 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 /
|
||||
|
|
|
@ -16,5 +16,4 @@ else
|
|||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
exec "$@"
|
||||
|
|
Loading…
Reference in a new issue