diff 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
line wrap: on
line diff
--- a/docker/Dockerfile.artifacts	Fri Jul 22 12:57:11 2022 +0200
+++ b/docker/Dockerfile.artifacts	Fri Jul 22 13:07:07 2022 +0200
@@ -24,12 +24,12 @@
 RUN hg clone -b $BRANCH $REPO_URL/framework
 RUN hg clone -b $BRANCH $REPO_URL/http-client
 
-RUN mvn -q -f framework/pom.xml install
-RUN mvn -q -f http-client/pom.xml install
+RUN mvn -q -DskipTests -f framework/pom.xml install
+RUN mvn -q -DskipTests -f http-client/pom.xml install
 
 ADD . river
 
-RUN mvn -q -f river/backend/pom.xml install
+RUN mvn -q -DskipTests -f river/backend/pom.xml install
 
 WORKDIR river/artifacts
 
@@ -41,7 +41,7 @@
 RUN ../../framework/artifact-database/bin/createArtifacts.sh
 RUN ./bin/createDatacage.sh
 
-RUN mvn -q package assembly:single
+RUN mvn -q -DskipTests package assembly:single
 
 EXPOSE 8181
 

http://dive4elements.wald.intevation.org