comparison docker/Dockerfile.artifacts @ 9779:3847836c60b5 3.2.x

Improve backend build for different database backends Use profiles instead of multiple almost identical POMs. Introduce build-time argument for Docker build.
author Tom Gottfried <tom@intevation.de>
date Tue, 07 Feb 2023 16:11:43 +0100
parents f98e5c7775d2
children c670bf2ec4b0
comparison
equal deleted inserted replaced
9778:b57b236c4f4e 9779:3847836c60b5
30 RUN mvn -q -DskipTests -f framework/pom.xml install 30 RUN mvn -q -DskipTests -f framework/pom.xml install
31 RUN mvn -q -DskipTests -f http-client/pom.xml install 31 RUN mvn -q -DskipTests -f http-client/pom.xml install
32 32
33 ADD . river 33 ADD . river
34 34
35 # If ORACLE=true, the oracle profile in the POM is activated
36 ARG ORACLE
35 RUN mvn -q -DskipTests -f river/backend/pom.xml install 37 RUN mvn -q -DskipTests -f river/backend/pom.xml install
36 38
37 WORKDIR river/artifacts 39 WORKDIR river/artifacts
38 40
39 # Install WSPLGEN 41 # Install WSPLGEN

http://dive4elements.wald.intevation.org