Alpine Linux base image with installed Zulu Community OpenJDK and Maven 3
10K+
Dockerfile linksdocker 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)View license information for the software contained in this image:
Content type
Image
Digest
Size
143.1 MB
Last updated
about 7 years ago
docker pull devstudy/maven