Support append BP_NATIVE_IMAGE_BUILD_ARGUMENTS to the end of command #288
Labels
hacktoberfest
Hacktoberfest eligible
note:ideal-for-contribution
An issue that a contributor can help us with
type:enhancement
A general enhancement
Describe the Enhancement
After using BP_NATIVE_IMAGE_BUILD_ARGUMENTS, these arguments are always added to the very beginning of the command(before -cp), example:
Is it possible to append BP_NATIVE_IMAGE_BUILD_ARGUMENTS to the end of the command instead of the beginning? example:
Possible Solution
Add another environment variable to switch this feature on and off
Motivation
In some cases, it is necessary to override graalvm native image arguments that are included in some of the dependency jars. additional command line arguments must be placed at the end of the line for this to work (actually, after -cp)
example: apache/camel-quarkus#5006 (comment)
In order to override
RunReachabilityHandlersConcurrently
in google-gax, this parameter must be placed lastThe text was updated successfully, but these errors were encountered: