Mercurial > dive4elements > river
diff 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 |
line wrap: on
line diff
--- a/docker/Dockerfile.artifacts Mon Feb 06 16:57:03 2023 +0100 +++ b/docker/Dockerfile.artifacts Tue Feb 07 16:11:43 2023 +0100 @@ -32,6 +32,8 @@ ADD . river +# If ORACLE=true, the oracle profile in the POM is activated +ARG ORACLE RUN mvn -q -DskipTests -f river/backend/pom.xml install WORKDIR river/artifacts