diff docker/Dockerfile.artifacts @ 9777:f98e5c7775d2 3.2.x

Do not rely on scripts being executable
author Tom Gottfried <tom@intevation.de>
date Fri, 20 Jan 2023 12:22:24 +0100
parents e5b86f024141
children 3847836c60b5
line wrap: on
line diff
--- a/docker/Dockerfile.artifacts	Fri Jan 20 11:31:13 2023 +0100
+++ b/docker/Dockerfile.artifacts	Fri Jan 20 12:22:24 2023 +0100
@@ -41,8 +41,8 @@
 RUN curl -s $WSPLGEN_URL | gunzip > bin/wsplgen && chmod +x bin/wsplgen
 
 # Create h2 databases
-RUN ../../framework/artifact-database/bin/createArtifacts.sh
-RUN ./bin/createDatacage.sh
+RUN sh ../../framework/artifact-database/bin/createArtifacts.sh
+RUN sh ./bin/createDatacage.sh
 
 RUN mvn -q -DskipTests package assembly:single
 
@@ -53,4 +53,4 @@
 
 RUN tar -xf ../src/river/artifacts/target/river-artifacts-1.0-SNAPSHOT-bin.tar
 
-CMD bin/run.sh
+CMD sh bin/run.sh

http://dive4elements.wald.intevation.org