adoptium / containers

Repo containing the dockerfiles and scripts to produce the official eclipse-temurin containers.
https://hub.docker.com/_/eclipse-temurin/
Apache License 2.0
204 stars 87 forks source link

Add Multi-JDK images for testing purposes #550

Open laurentgo opened 1 month ago

laurentgo commented 1 month ago

I believe it would be a worthwhile addition to the project if a multi-jdk image could be made available. A multi-jdk image is an image containing multiple JDK installations within the same image. The list of JDKs could be limited to the ones currently supported (current LTS + latest version).

This image has little benefit for running services but could help a lot for build/testing/ci workflows. Many projects are considering modernizing their build stack by using a recent version of Java while also maintaining compatibility with older LTS versions. Build tools nowasays provide the ability to specify a different JDK to compile and test code. Although javac also provides the --release flag, there's no equivalent for testing.