Merge pull request #2491 from nextcloud/borg-dockerfile

optimize borg dockerfile
This commit is contained in:
Simon L 2023-05-03 17:43:08 +02:00 committed by GitHub
commit bddca890c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"