in case of -g native-image (since 22.3) produces two images: binary and binary.debug, containing debug info. some debug tools expects lack one to resolve symbols.
Current Behaviour
Only one binary copied to layer
Possible Solution
publish all binaries produced by native-image
Steps to Reproduce
generate simple Spring boot application in IDEA (maven)
add configuration to spring-boot-maven-plugin plugin:
In result image contains only one binary com.example.demo.DemoApplication
Motivations
We're developing plugin for GraalVM to let users debug their binary applications, and lack of debug info break opportunity for Spring users to debug theirs applications.
Expected Behaviour
in case of
-g
native-image (since 22.3) produces two images: binary and binary.debug, containing debug info. some debug tools expects lack one to resolve symbols.Current Behaviour
Only one binary copied to layer
Possible Solution
publish all binaries produced by
native-image
Steps to Reproduce
spring-boot-maven-plugin
plugin:In result image contains only one binary
com.example.demo.DemoApplication
Motivations
We're developing plugin for GraalVM to let users debug their binary applications, and lack of debug info break opportunity for Spring users to debug theirs applications.