mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
Merge pull request #2501 from nextcloud/watchtower-dockerfile
optimze watchtower Dockerfile
This commit is contained in:
commit
9e92f2b5fd
1 changed files with 2 additions and 4 deletions
|
|
@ -4,11 +4,9 @@ FROM containrrr/watchtower:1.5.3 as watchtower
|
||||||
FROM alpine:3.17.3
|
FROM alpine:3.17.3
|
||||||
|
|
||||||
RUN apk add --no-cache bash
|
RUN apk add --no-cache bash
|
||||||
COPY --from=watchtower /watchtower /
|
COPY --from=watchtower /watchtower /watchtower
|
||||||
|
|
||||||
COPY start.sh /
|
COPY --chmod=775 start.sh /start.sh
|
||||||
RUN chmod +x /start.sh
|
|
||||||
|
|
||||||
USER root
|
|
||||||
ENTRYPOINT ["/start.sh"]
|
ENTRYPOINT ["/start.sh"]
|
||||||
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue