mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-02-24 05:45:28 +08: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
|
||||
|
||||
RUN apk add --no-cache bash
|
||||
COPY --from=watchtower /watchtower /
|
||||
COPY --from=watchtower /watchtower /watchtower
|
||||
|
||||
COPY start.sh /
|
||||
RUN chmod +x /start.sh
|
||||
COPY --chmod=775 start.sh /start.sh
|
||||
|
||||
USER root
|
||||
ENTRYPOINT ["/start.sh"]
|
||||
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|
||||
|
|
Loading…
Reference in a new issue