Advertisement
Guest User

Untitled

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