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
Native Image Build - Reuse-Existing requires docker runtime #27479
Comments
/cc @geoand |
This isn't Jib that is failing, it's the native image generation, which is attempting to build the native binary using docker or podman because GraalVM is not installed locally |
@geoand Yes, but isn't that a problem given that the native executable already exists and the
This is why I think that it is a bug |
Actually, that's a very good point. |
Ensure that quarkus.native.reuse-existing=true does not fail if GraalVM is not present
…VM missing Fixes: quarkusio#27479 (cherry picked from commit 27087eb)
Describe the bug
I am attempting to develop a two part Quarkus CI Pipeline in Jenkins. The process is to build the core artifact and then run the image build and push per target registry. So:
This works fine for JVM builds but fails for Native Images.
During Stage 2 I build the native executable when a 'Native' parameter is set. For Stages 3 & 4, I use a command like so:
Expected behavior
I expect that the JIB builder will construct the image, set the correct entrypoint and push the image to registry without requiring an intermediate container-runtime
Actual behavior
The build fails
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
Java version: 11.0.16, vendor: Oracle Corporation, runtime: /usr/local/openjdk-11
GraalVM version (if different from Java)
Container Build
Quarkus version or git rev
2.6.3.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)maven:3.8.6
Additional information
No response
The text was updated successfully, but these errors were encountered: