Replies: 1 comment 4 replies
-
Right now, there's not a lot you can do about that. The native image tool is writing the error report to the disk inside the build container. When the build is done, success or fail, it gets destroyed. It looks like it's writing a text file, so maybe there's a way to make it just write that to STDOUT. The other option would be to attach a volume and have it write the files to the volume's location. Do you know if it's possible to change the location to which it writes these files? Either to STDOUT or to another spot on disk? If none of those options work, then we can open an enhancement request to look for this build message and capture those files. We could then write to STDOUT or copy to a volume. |
Beta Was this translation helpful? Give feedback.
-
I initially posted this question to the Graal discussion board, but they suggested I come here.
I'm trying to build a native image using the Spring Maven plugin with paketobuildpacks tiny builder. The build-image goal fails, telling me that there is a generated error report I should inspect. However, I don't see it anywhere on my computer (it doesn't seem to be a valid absolute path or relative path from my project).
Where should I be able to find this error report? Is it located in some Graal temp directory outside of my project?
In case it's relevant, here is the command I'm running: mvn -Pnative spring-boot:build-image
I copied the native profile from spring-boot-starter-parent, as follows:
Beta Was this translation helpful? Give feedback.
All reactions