mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-11-15 19:44:31 +08:00
f5616cd618
See: https://containrrr.dev/watchtower/container-selection/#monitor_only Signed-off-by: Zoey <zoey@z0ey.de>
14 lines
No EOL
361 B
Docker
14 lines
No EOL
361 B
Docker
# From https://github.com/containrrr/watchtower/blob/main/dockerfiles/Dockerfile.self-contained
|
|
FROM containrrr/watchtower:1.5.3 as watchtower
|
|
|
|
FROM alpine:3.17.1
|
|
|
|
RUN apk add --no-cache bash
|
|
COPY --from=watchtower /watchtower /
|
|
|
|
COPY start.sh /
|
|
RUN chmod +x /start.sh
|
|
|
|
USER root
|
|
ENTRYPOINT ["/start.sh"]
|
|
LABEL com.centurylinklabs.watchtower.monitor-only="true" |