From a917d66afdaf93e6306a6a211fd69d3381585463 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20W=C3=BCst?= Date: Wed, 27 Jan 2021 16:46:55 +0100 Subject: [PATCH] Fix permission of scripts in base-binaries Include shell files in subdirectory of `/opt/docspell-tools/` via `**/*.sh`. --- docker/base-binaries.dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/base-binaries.dockerfile b/docker/base-binaries.dockerfile index 94b0ab55..d6cf6b71 100644 --- a/docker/base-binaries.dockerfile +++ b/docker/base-binaries.dockerfile @@ -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