Fix permission of scripts in base-binaries

Include shell files in subdirectory of `/opt/docspell-tools/` via `**/*.sh`.
This commit is contained in:
Markus Wüst 2021-01-27 16:46:55 +01:00 committed by GitHub
parent 596b1c6076
commit a917d66afd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -38,7 +38,7 @@ RUN find "/src/docspell/modules/restserver/target/universal/" -name "docspell-re
RUN mv /opt/docspell-restserver-* /opt/docspell-restserver
RUN find "/src/docspell/tools/target/" -name "docspell-tools-*.zip" -exec unzip {} -d "/opt/" \;
RUN mv /opt/docspell-tools-* /opt/docspell-tools
RUN chmod 755 /opt/docspell-tools/*.sh
RUN chmod 755 /opt/docspell-tools/**/*.sh
COPY ./docker/docspell.conf /opt/docspell.conf