GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - dockette/java: 🐳 OpenJDK + Maven

BranchesTags
Open more actions menu

Latest commit

 

History

15 Commits
15 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
jdk8
jdk8
 
 
mvn
mvn
 
 
openjdk-mvn
openjdk-mvn
 
 
openjdk8
openjdk8
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
VERSION
VERSION
 
 

Repository files navigation

JAVA

Ready-to-use images for Java JDK 8 (Eclipse Temurin) & Maven 3.


Docker Stars Docker Pulls

Discussion / Help

Join the chat

Usage

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.

JDK 8

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

OpenJDK 8

Eclipse Temurin 8 (eclipse-temurin:8-jdk-alpine)

docker run --rm \
    -v /path/to/project:/data \
    dockette/java:openjdk8 \
    java -version

Maven 3

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

Versions

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.

Development

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

Maintenance

See how to contribute to this package. Consider to support f3l1x. Thank you for using this package.

About

🐳 OpenJDK + Maven

Topics

dockerdocker-imagedockettejavamavenopenjdk

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

4 stars

Watchers

2 watching

Forks

4 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.