fix: set script modes in the image independent of the build umask (#113)

COPY --chmod=755 for backup.sh, check.sh and entry.sh so the image no longer depends on the build host's umask; exact structure permission checks stay. README notes the BuildKit requirement.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Tobias KaupatandClaude Opus 5.5 authored and GitHub committed 2026-10-21 00:33:41 +02:00
1 parent be7d426f78
commit e5b12da948
4 files changed
+8 -7

No files matched your search

+3 -3
View File
@@ -60,9 +60,9 @@ RUN mkdir /.cache && \
# /data is the dir where you have to put the data to be backed up
VOLUME /data
COPY backup.sh /bin/backup
COPY check.sh /bin/check
COPY entry.sh /entry.sh
COPY --chmod=755 backup.sh /bin/backup
COPY --chmod=755 check.sh /bin/check
COPY --chmod=755 entry.sh /entry.sh
ENTRYPOINT ["/entry.sh"]
CMD ["tail","-fn0","/var/log/cron.log"]