Sign inSign up

bsantanna/maven-build

By bsantanna

•Updated 4 days ago

Maven 3.9 on Java 25. Point it at a project. It builds.

Image
Languages & frameworks
Integration & delivery
Developer tools
0

10K+

bsantanna/maven-build repository overview

⁠maven-build

Point it at a project. It builds.

bsantanna/maven-build is Apache Maven 3.9 on Java 25, tuned to run your build in parallel the moment it starts. No local JDK. No local Maven. No "works on my machine."

⁠Run it

From the root of any Maven project:

docker run --rm -v "$PWD:/opt/workspace" bsantanna/maven-build

That runs mvn clean install with 8 threads. Any arguments you pass go straight to Maven:

docker run --rm -v "$PWD:/opt/workspace" bsantanna/maven-build verify -DskipITs

⁠Fast the second time

Downloaded dependencies are kept in archive/ inside your project, so every run after the first starts warm. Add archive/ to your .gitignore.

⁠Configuration

VariableDefaultPurpose
MAVEN_THREAD_COUNT8Parallel build threads (mvn -T).
JAVA_OPTS—Extra options passed to Maven, e.g. -Dmaven.test.skip=true.
docker run --rm -e MAVEN_THREAD_COUNT=4 -v "$PWD:/opt/workspace" bsantanna/maven-build package

⁠What's inside

Build toolApache Maven 3.9.11 (checksum-verified)
RuntimeEclipse Temurin JDK 25 (LTS)
Basebsantanna/base⁠

⁠Tags

TagMeaning
latestThe newest release.
YYYY.MM.XXA fixed release, e.g. 2026.11.01. Pin this in CI.

Multi-architecture: linux/amd64 and linux/arm64.

⁠Source

github.com/bsantanna/docker-images⁠

Tag summary

Content type

Image

Digest

sha256:2090d1d70…

Size

269.1 MB

Last updated

4 days ago

docker pull bsantanna/maven-build