mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
optimze watchtower Dockerfile
Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
parent
844382d220
commit
079b86d840
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…
Add table
Add a link
Reference in a new issue