Native build command fails for devworkspace Quarkus Che sample #21145
Labels
area/devfile-spec
Issues related to Devfile v2
area/plugins
area/samples
kind/bug
Outline of a bug - must adhere to the bug report template.
severity/P2
Has a minor but important impact to the usage or development of the system.
Milestone
Describe the bug
The
package-native
command does not work for the devfile v2 Quarkus quick start Che sample project, because the tools container does not have GraalVM installed.Workaround
It can be installed by running
sdk install java 20.3.5.r11-grl && gu install native-image
in the tools container, but it would be great if thepackage-native
command worked out-of-the-box (like the devfile v1 Quarkus sample).Che version
next (development version)
Steps to reproduce
On the latest version of Che (with devworkspace engine), create a new devworkspace with the Quarkus sample:
Run the
package-native
command:This results in the following error in the output:
Full output here: https://gist.github.com/dkwon17/51e312188a05ba407916c57400ec788e
Expected behavior
Would have expected the native build to be successful, similar to the devfile v1 Quarkus sample.
Runtime
OpenShift
Screenshots
No response
Installation method
OperatorHub
Environment
Linux
Eclipse Che Logs
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: