GitHub - beevelop/docker-java: :coffee: Java (Java / OpenJDK 17.0) based on Ubuntu 26.04
Repository navigation
docker-javaPublic
About
☕ Java (Java / OpenJDK 17.0) based on Ubuntu 26.04
beevelop.comTopics
container-image containerization docker-container docker-image docker-java java openjdkResources
Readme MIT license ActivityStars
7 starsWatchers
2 watchingForks
8 forks Report repositoryBranches
Tags
Go to Branches page Go to Tags page
Latest commit
History
122 Commits
View commit history for this file.
Folders and files
| Name | Name | Last commit message | Last commit date |
|---|---|---|---|
| .github | .github | ||
| .dockerignore | .dockerignore | ||
| .gitignore | .gitignore | ||
| Dockerfile | Dockerfile | ||
| LICENSE | LICENSE | ||
| README.md | README.md | ||
| icon.png | icon.png | ||
Repository files navigation
beevelop/java
OpenJDK 17 headless JDK on the Ubuntu-based beevelop/base image . It includes java and javac and sets JAVA_HOME on linux/amd64, linux/arm64, and linux/arm/v7.
Install Maven, Gradle, or Ant in the derived image or use your project's build wrapper. The JDK stays on Java 17 for compatibility with the Android image .
Use the image
docker pull beevelop/java:latest docker run --rm beevelop/java:latest java -version docker run --rm beevelop/java:latest javac -version
Use a release tag or an image digest for repeatable builds. Default-branch builds and versioned releases update latest. Scheduled builds also publish nightly.
Build and verify
docker build --check . docker build -t beevelop/java:local . docker run --rm beevelop/java:local sh -ec '"$JAVA_HOME/bin/javac" -version'
Dependabot tracks the published base digest. To test against a locally built parent with Docker's default builder, override the parent at build time.
docker build --build-arg BASE_IMAGE=beevelop/base:local -t beevelop/java:local .
The Docker Image workflow smoke-tests the JDK before publishing, attaches an SBOM and provenance, and uploads a scan of the published digest.
All Docker images
| Badge | Docker Hub | Build Status | Published | Release / Tag | License |
|---|---|---|---|---|---|
Use tags where possible, because
About
☕ Java (Java / OpenJDK 17.0) based on Ubuntu 26.04
beevelop.com