Closed jjbustamante closed 8 months ago
I think we're using the wrong approach to set launch-time env vars. Rather than providing a jdk.sh
file to run as an exec.d
file, we should be writing the env vars to the env
dir. The proposed change uses https://github.com/buildpacks/spec/blob/main/buildpack.md#environment-variable-modification-rules
Something like https://github.com/buildpacks/samples/pull/181 might work. We will also have to do the same in the kotlin-gradle example.
Fixed :)
Checking the latest execution of the CI workflows in CircleCI I noticed the sample java app is not starting. see here
I tried t o reproduced the error with the following steps:
0.32.1
If I am not wrong the error
fork/exec /layers/samples_java-maven/jdk/exec.d/jdk.sh: exec format error
is thrown because the binary is not compatible with the host architecture.