Skip to content
Fumapps edited this page Oct 16, 2021 · 2 revisions

Welcome to the mpw-modeling-framework wiki!

Build with Docker

To build with Docker, you can use the following sample command, called from the root dir of the mpw-modeling-framework project.

docker run -it --rm --name mpw-modeling-framework -v "$(pwd)":/usr/src/mpw-modeling-framework -w /usr/src/mpw-modeling-framework maven:3.6.3-openjdk-15-slim mvn package

If you optionally want to reuse the m2-repo cache in further calls, use a "-v" parameter for the /root/.m2

docker run -it --rm --name mpw-modeling-framework -v "$(pwd)":/usr/src/mpw-modeling-framework -v "$(pwd)/test-mvn-local":"/root/.m2" -w /usr/src/mpw-modeling-framework maven:3.6.3-openjdk-15-slim mvn package
Clone this wiki locally