Description
For the implementation of buildpack spec 0.9 shell processes should no longer implicitly be expected (RFC 93). During construction of build arguments, buildflag -H:+StaticExecutableWithDynamicLibC
gets added which seems to be necessary for stacks without a shell.
Is there a reason why this buildflag should not be used in general?
Describe the Enhancement
Using -H:+StaticExecutableWithDynamicLibC
in general would make this buildpack independent from the existence of a shell of the underlying run-stack.
Possible Solution
Remove the if-condition for a tiny-stack.
Motivation
Using stacks from noble onwards don't differentiate between different build-stacks and don't have necessarily a stack-id to rely on. This could lead to using this buildpack with a tiny-run-stack without a shell included and ending up with a failing startup at run time.