Mercurial > dive4elements > river
comparison docker/Dockerfile.artifacts @ 9733:93b9034613bc 3.2.x
Skip tests in docker build
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 22 Jul 2022 13:07:07 +0200 |
parents | a6c6bba0fc4b |
children | 0c4736d5dd4a |
comparison
equal
deleted
inserted
replaced
9732:a6c6bba0fc4b | 9733:93b9034613bc |
---|---|
22 ENV REPO_URL https://scm.wald.intevation.org/hg/dive4elements/ | 22 ENV REPO_URL https://scm.wald.intevation.org/hg/dive4elements/ |
23 ENV BRANCH 3.2.x | 23 ENV BRANCH 3.2.x |
24 RUN hg clone -b $BRANCH $REPO_URL/framework | 24 RUN hg clone -b $BRANCH $REPO_URL/framework |
25 RUN hg clone -b $BRANCH $REPO_URL/http-client | 25 RUN hg clone -b $BRANCH $REPO_URL/http-client |
26 | 26 |
27 RUN mvn -q -f framework/pom.xml install | 27 RUN mvn -q -DskipTests -f framework/pom.xml install |
28 RUN mvn -q -f http-client/pom.xml install | 28 RUN mvn -q -DskipTests -f http-client/pom.xml install |
29 | 29 |
30 ADD . river | 30 ADD . river |
31 | 31 |
32 RUN mvn -q -f river/backend/pom.xml install | 32 RUN mvn -q -DskipTests -f river/backend/pom.xml install |
33 | 33 |
34 WORKDIR river/artifacts | 34 WORKDIR river/artifacts |
35 | 35 |
36 # Install WSPLGEN | 36 # Install WSPLGEN |
37 ENV WSPLGEN_URL https://wald.intevation.org/frs/download.php/1496/wsplgen-linux-64bit-static.gz | 37 ENV WSPLGEN_URL https://wald.intevation.org/frs/download.php/1496/wsplgen-linux-64bit-static.gz |
39 | 39 |
40 # Create h2 databases | 40 # Create h2 databases |
41 RUN ../../framework/artifact-database/bin/createArtifacts.sh | 41 RUN ../../framework/artifact-database/bin/createArtifacts.sh |
42 RUN ./bin/createDatacage.sh | 42 RUN ./bin/createDatacage.sh |
43 | 43 |
44 RUN mvn -q package assembly:single | 44 RUN mvn -q -DskipTests package assembly:single |
45 | 45 |
46 EXPOSE 8181 | 46 EXPOSE 8181 |
47 | 47 |
48 WORKDIR /opt/d4e/bin | 48 WORKDIR /opt/d4e/bin |
49 RUN useradd d4e | 49 RUN useradd d4e |