Created
August 31, 2023 14:02
-
-
Save zlatozar/0fe2dfe00d1c95d0d190d282a0f9e971 to your computer and use it in GitHub Desktop.
Build java maven project without having java installed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -it --rm --name country-maven-project -v "$PWD":/usr/src/app -v "$HOME"/.m2:/root/.m2 -w /usr/src/app maven:3-eclipse-temurin-17 mvn clean package -DskipTests |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment