/mvnd-docker

the Maven Daemon Docker Image, This project aims at providing faster Maven builds using techniques known from Gradle and Takari.

Primary LanguageDockerfile

mvnd - the Maven Daemon Docker Image

English | 简体中文

This project aims at providing faster Maven builds using techniques known from Gradle and Takari.

DockerHub Repositorie

Builder

Dockerfile --build-arg

Key Value Required Default
POSTTION CN N
MVND_VERSION latest/version N 0.7.1

Dockerfile --target

  • jdk8
  • jdk11
docker build --target jdk11 -t ${image_name}:${image_version} --build-arg MVND_VERSION=latest .

Trying

docker run --rm -v "$(pwd)":/code -v ${maven_volume}:/root/.m2 -w /code ${image_name}:${image_version} mvnd clean install