sbt / sbt-native-packager

sbt Native Packager
https://sbt-native-packager.readthedocs.io/en/stable/
BSD 2-Clause "Simplified" License
1.59k stars 439 forks source link

Fix missing Graalvm native-image binary symlink in generated container image #1500

Closed kgston closed 2 years ago

kgston commented 2 years ago

Closes #1492 Solution based on the monkeypatch provided by pshirshov I decided to use a wildcard interpolation to get the correct folder for the symlink since there will only be one version of graalvm in the image anyway and trying to derive it from graalVMNativeImageGraalVersion which could contain variations on the base image version, would be difficult to parse accurately.

Also updates the graalvm base image version in the tests to the latest, otherwise the existing test would report a false positive using the old version.

muuki88 commented 2 years ago

THanks @kgston for fixing this long standing issue :heart:

muuki88 commented 2 years ago

1.9.9 is on its way