Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do we have any plans to make openjdk:12.0.1-slim ? #310

Closed
faisalp4p opened this issue May 6, 2019 · 9 comments
Closed

Do we have any plans to make openjdk:12.0.1-slim ? #310

faisalp4p opened this issue May 6, 2019 · 9 comments
Labels
Request Request for image modification or feature

Comments

@faisalp4p
Copy link

No description provided.

@faisalp4p faisalp4p changed the title Do we have any plans to make openjdk:12.0.1-slim ? Do we have any plans to make openjdk:12.0.1-slim ? May 6, 2019
@wglambert wglambert added the Request Request for image modification or feature label May 6, 2019
@wglambert
Copy link

The latest openjdk images are built from Oracle instead of Debian. The current openjdk:12 image is equivalent in size to openjdk:11-slim

$ docker images | grep openjdk
openjdk               12                  831a029b6add        2 weeks ago         470MB
openjdk               11-slim             5cc6ea6c24c4        4 weeks ago         468MB
openjdk               11                  0aa10063a184        4 weeks ago         815MB

While openjdk:13 has an Alpine variant, this was deprecated with openjdk:12 #281

it appears OpenJDK has dropped Alpine builds from 12

@faisalp4p
Copy link
Author

The current openjdk:12 image is equivalent in size to openjdk:11-slim

Thanks for that useful piece of info :)

@stefan-it
Copy link

Why is "Oracle" used instead of Debian?

@wglambert
Copy link

Oracle Linux's latest builds are licensed under GPLv2 and allow for more timely updates by decoupling the Java version updates from package and version cycles of the different Linux distros.
#212 #235

@EricLemieux
Copy link

See #302 for a more detailed discussion about why Debian isn't being used as the base anymore.

@tianon
Copy link
Member

tianon commented May 13, 2019

Yep, -slim variants were an artifact of the Debian base in use and #302 is the appropriate place to discuss/follow that further. 👍

@tianon tianon closed this as completed May 13, 2019
@cscetbon
Copy link

Sorry for asking here but what about 12-jre ? It seems 12.0.2-jdk-oracle and 12.0.2-oracle are the same size.

@yosifkit
Copy link
Member

@cscetbon, There is no official JRE for 12+ (there wasn't even one for 11 until recently).

JDK 11 has no official JRE build. The reason for this is that the "jlink" tool allows users to create precisely-targeted stripped JDK images for their applications, and this is IMO better for Docker than a JRE image.

- #320 (comment)

See #322 that removed the 11-jre builds and this commit that added it back.

@cscetbon
Copy link

got it, thanks @yosifkit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Request Request for image modification or feature
Projects
None yet
Development

No branches or pull requests

7 participants