mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
Merge pull request #2491 from nextcloud/borg-dockerfile
optimize borg dockerfile
This commit is contained in:
commit
bddca890c5
1 changed files with 3 additions and 6 deletions
|
|
@ -13,11 +13,8 @@ RUN set -ex; \
|
||||||
|
|
||||||
VOLUME /root
|
VOLUME /root
|
||||||
|
|
||||||
COPY start.sh /usr/bin/
|
COPY --chmod=770 *.sh /
|
||||||
COPY backupscript.sh /
|
|
||||||
RUN chmod +x /usr/bin/start.sh; \
|
ENTRYPOINT ["/start.sh"]
|
||||||
chmod +x /backupscript.sh
|
|
||||||
|
|
||||||
USER root
|
|
||||||
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