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

Where is OpenJDK 12 JRE version image? #319

Closed
XhstormR opened this issue May 17, 2019 · 1 comment
Closed

Where is OpenJDK 12 JRE version image? #319

XhstormR opened this issue May 17, 2019 · 1 comment

Comments

@XhstormR
Copy link

OpenJDK 12 image on Docker Hub only has JDK version, is there a plan for the JRE version?

@tianon
Copy link
Member

tianon commented May 17, 2019

Our builds for OpenJDK 12 come from https://jdk.java.net/12/, and as you can see they're JDK only. I don't believe they publish an associated JRE artifact, nor am I aware of any official documentation on what to do with that JDK artifact to turn it into a generic JRE.

What I would recommend though, is that you use a multi-stage build and the jlink utility to create for yourself a minimal JRE that only includes the specific standard library classes your application requires (so that you essentially end up creating your own hyper-optimized JRE image). 👍

For further assistance, I'd recommend trying the Docker Community Forums, the Docker Community Slack, or Stack Overflow.

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

No branches or pull requests

2 participants