-
Notifications
You must be signed in to change notification settings - Fork 273
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
[FEATURE] smaller docker images #3607
Comments
Why do they contain a JDK rather than just a JRE? |
[Untriage] |
Hi @sbe-arg, Thanks. |
The docker release image of OpenSearch is using the tarball created for OpenSearch, the jdk was bundled by the core, not build repo. Thanks. |
Hi @reta what do you think about this? |
This is a good question, I am not aware of any particular reasons why we bundle JDK, not JRE (beside the fact the OpenJDK project does not provide JRE builds). I will check it out |
@peterzhuamazon quick update on this one:
Does it make sense to you? |
Thanks @reta. |
JRE is enough |
Thanks, then we should just add the JRE, this change should be part of the Core, @reta please let me know I can open an issue with some details in the OpenSearch repo. |
That could be considered a breaking change (at least for |
This is not a high priority issue at the moment. Nor have we added the nojdk option in build repo yet. @reta do you have idea on the difference of sizes between jre and jdk? Docker images already did some compression so I would think the size is not as big. |
@peterzhuamazon we have an answer here opensearch-project/OpenSearch#8195 :) ~50% less |
Thanks @reta, Seems like it is only tar for now. Wondering if we have time to bring it into 2.9, or 2.10. Need more inputs: @dblock @bbarani Thanks. |
Is your feature request related to a problem?
images are too big, ~1.2gb each atm
What solution would you like?
variant images should be way smaller
What alternatives have you considered?
we should have an alpine variant
The text was updated successfully, but these errors were encountered: