mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-04 13:01:51 +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 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…
Reference in a new issue