Sign inSign up

devstudy/maven

By devstudy

•Updated about 7 years ago

Alpine Linux base image with installed Zulu Community OpenJDK and Maven 3

Image
0

10K+

devstudy/maven repository overview

⁠How to use this image

docker run -v ~/:/home/mvn/ -it --rm -u 1000 -e MAVEN_CONFIG=/home/mvn/.m2 -v "$PWD":/opt/src/ -w /opt/src devstudy/maven mvn -Duser.home=/home/mvn clean install site

This command cleans, builds project and creates documentations for maven project which is located at the current folder using user with id = 1000 (i.e. non root user). All changes made by this command are stored at HOST machine:

  • ./target/ (Maven output) *~/.m2/ (Local maven repository)
  • ~/(Other caches if required)

⁠License

View license information for the software contained in this image:

Tag summary

Content type

Image

Digest

Size

143.1 MB

Last updated

about 7 years ago

docker pull devstudy/maven