-
Notifications
You must be signed in to change notification settings - Fork 566
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
Helidon SE: use jlink to create minimal Java 11 runtime #130
Comments
Here are some examples of dependencies on modules of interest: java.desktop: java/beans/IntrospectionException (org.yaml.snakeyaml) |
Example Dockerfile to generate image with custom JRE:
|
Yep; more stuff than you think pulls in Haven’t thought deeply about this but if we put together some kind of configuration in the sample app that does not use YAML etc. we might be able to use |
Ack! Because of bug docker-library/openjdk#217 the above approach results in a docker image size >500MB. Need to look for a work-around. |
The work-around for the bloated
|
This is being documented in PR #182 |
Environment Details
Problem Description
We should determine the minimum set of modules needed to run a Helidon SE application and document it. Also, we should consider updating our quickstart Dockerfile to generate the JRE as part of a two stage docker build.
I did a quick experimentation and this seems to work, but I did not exercise very many code paths:
The text was updated successfully, but these errors were encountered: