-
Notifications
You must be signed in to change notification settings - Fork 0
Cannot allow to specify not to download native-image
component
#5
Comments
Thanks for raising this issue, @linghengqian. As you found out,
I'm not sure I understand: If you build the application with Native Image and Espresso, you no longer need a full GraalVM installation when deploying the application. Are you sure you need a GraalVM installation in your Docker container? |
|
Right, I believe fixing oracle/graal#4555 is the right thing to do here. Until then, your containers may be a bit bigger. As a workaround, you could I hope you don't mind if I'm closing this for now. |
|
native-image
component without specifying-c native-image
.bash <(curl -sL https://get.graalvm.org/jdk) -c espresso graalvm-ce-java17-22.3.1
, it will not only downloadespresso
component, also downloads thenative-image
component.bash <(curl -sL https:/ /get.graalvm.org/jdk) -c espresso graalvm-ce-java17-22.3.1
to explicitly download the Espresso files. It would be nice if the bash command had a way to prevent the download of thenative-image
component. This reduces the size of the final Docker Image because the GraalVM Native Image binary is compiled before starting to package the Docker Image.The text was updated successfully, but these errors were encountered: