Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This will use maven:3-jdk-11 based Docker container and use your current project's pom.xml
- # with `-v $(pwd):/build --workdir /build`
- # to build your Maven project and remove used container after finish (`--rm`)
- docker run --rm -v $(pwd):/build --workdir /build maven:3-jdk-12 mvn install
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement