mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-06 13:56:45 +08:00
01e8e11fa2
Signed-off-by: szaimen <szaimen@e.mail.de>
20 lines
439 B
Docker
20 lines
439 B
Docker
# 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/*
|
|
|
|
COPY --from=watchtower /watchtower /
|
|
|
|
COPY start.sh /
|
|
RUN chmod +x /start.sh
|
|
|
|
USER root
|
|
ENTRYPOINT ["/start.sh"]
|