🐳 OpenJDK + Maven
9.6K
Ready-to-use images for Java JDK 8 (Eclipse Temurin) & Maven 3.
All images are based on Eclipse Temurin 8 (the maintained OpenJDK 8 build) on Alpine Linux and are built for linux/amd64. The working directory is /data.
Eclipse Temurin 8 (
eclipse-temurin:8-jdk-alpine)
Formerly Oracle JDK 8. Oracle JDK can no longer be downloaded anonymously, so this tag now ships Eclipse Temurin 8 (same image as openjdk8).
docker run --rm \
-v /path/to/project:/data \
dockette/java:jdk8 \
java -version
Eclipse Temurin 8 (
eclipse-temurin:8-jdk-alpine)
docker run --rm \
-v /path/to/project:/data \
dockette/java:openjdk8 \
java -version
Maven 3 on Eclipse Temurin 8 (
maven:3-eclipse-temurin-8-alpine)
Formerly Maven 3.5.4 on Oracle JDK 8. Ships settings-docker.xml in /usr/share/maven/ref/. mvn and openjdk-mvn are now the same image.
docker run --rm \
-v /path/to/project:/data \
dockette/java:mvn \
mvn package
docker run --rm \
-v /path/to/project:/data \
dockette/java:openjdk-mvn \
mvn package
Every image is published as dockette/java:<variant>, where <variant> is jdk8, openjdk8, mvn or openjdk-mvn.
YYYY.MM.DD is the release date from VERSION.
| Tag | Description |
|---|---|
dockette/java:<variant> | latest build of master |
dockette/java:<variant>-YYYY.MM.DD | <variant> image of release YYYY.MM.DD |
There is no latest tag on dockette/java; pick a variant. The separate repositories dockette/jdk8,
dockette/openjdk8, dockette/mvn and dockette/openjdk-mvn are no longer updated, use dockette/java:<variant>.
The base images (eclipse-temurin:8-jdk-alpine and maven:3-eclipse-temurin-8-alpine) are not pinned, so every build
picks up the current Temurin 8 and Maven 3. Releases are listed on GitHub.
make build-all # build all variants for linux/amd64
make test-all # java -version (and mvn -v) in every image
make build DOCKER_VARIANT=mvn # build one variant
make version # print VERSION
make release # set today's date in VERSION
See how to contribute to this package. Consider to support f3l1x. Thank you for using this package.
Content type
Image
Digest
sha256:d9ba20017…
Size
83.2 MB
Last updated
about 3 hours ago
docker pull dockette/java:openjdk-mvn-2026.11.08Pulls:
41
Oct 26 to Nov 1