-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Pass container-runtime-options to native-image --version as well #45876
Pass container-runtime-options to native-image --version as well #45876
Conversation
`quarkus.native.container-runtime-options` should be respected when invoking the builder image to get its version. Closes: quarkusio#45842
aaf05e0
to
726ba17
Compare
@jcuero if you are familiar with building Quarkus from source please consider giving this a try |
Status for workflow
|
Hi @zakkak, It still fails, although with a different error. And the only way I found to fix it was to make sure that the --env are added one after the other (I modified the NativeImageBuildContainerRunner class and compiled again). It's a bit weird because I can run the same command in a console and it works, however, it doesn't work through quarkus java.lang.Process
|
Hi @zakkak, I found that your solution works by passing the arguments in the form of the list:
After this, the version was obtained correctly, however, it failed in another step, so I had to add the following configuration and the native image was generated correctly
|
quarkus.native.container-runtime-options
should be respected wheninvoking the builder image to get its version.
Closes: #45842