comparison 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
comparison
equal deleted inserted replaced
9776:e5b86f024141 9777:f98e5c7775d2
39 # Install WSPLGEN 39 # Install WSPLGEN
40 ENV WSPLGEN_URL https://wald.intevation.org/frs/download.php/1496/wsplgen-linux-64bit-static.gz 40 ENV WSPLGEN_URL https://wald.intevation.org/frs/download.php/1496/wsplgen-linux-64bit-static.gz
41 RUN curl -s $WSPLGEN_URL | gunzip > bin/wsplgen && chmod +x bin/wsplgen 41 RUN curl -s $WSPLGEN_URL | gunzip > bin/wsplgen && chmod +x bin/wsplgen
42 42
43 # Create h2 databases 43 # Create h2 databases
44 RUN ../../framework/artifact-database/bin/createArtifacts.sh 44 RUN sh ../../framework/artifact-database/bin/createArtifacts.sh
45 RUN ./bin/createDatacage.sh 45 RUN sh ./bin/createDatacage.sh
46 46
47 RUN mvn -q -DskipTests package assembly:single 47 RUN mvn -q -DskipTests package assembly:single
48 48
49 WORKDIR /opt/d4e/bin 49 WORKDIR /opt/d4e/bin
50 RUN useradd d4e 50 RUN useradd d4e
51 RUN chown d4e:d4e . 51 RUN chown d4e:d4e .
52 USER d4e 52 USER d4e
53 53
54 RUN tar -xf ../src/river/artifacts/target/river-artifacts-1.0-SNAPSHOT-bin.tar 54 RUN tar -xf ../src/river/artifacts/target/river-artifacts-1.0-SNAPSHOT-bin.tar
55 55
56 CMD bin/run.sh 56 CMD sh bin/run.sh

http://dive4elements.wald.intevation.org