sbt-native-packager icon indicating copy to clipboard operation
sbt-native-packager copied to clipboard

GraalVMNativeImagePlugin using deprecated container pull URL

Open utkuaydn opened this issue 1 year ago • 3 comments

It is mentioned in https://github.com/graalvm/container/pkgs/container/graalvm-ce/ that graalvm-ce is deprecated and graalvm-community should be used instead.

Expected behaviour

GraalVMNativeImagePlugin should use https://ghcr.io/graalvm/graalvm-community to pull images.

Actual behaviour

It is using https://ghcr.io/graalvm/graalvm-ce which is deprecated

utkuaydn avatar Nov 06 '24 10:11 utkuaydn

Thanks a lot @utkuaydn

Would you like to fix this? If yes, I can try to point you in the right directions

muuki88 avatar Nov 11 '24 16:11 muuki88

Hi @muuki88, I'd love to help out, let me know where and what to do and I'll do my best :)

utkuaydn avatar Nov 20 '24 21:11 utkuaydn

Hi @utkuaydn

Thanks a lot for offering help :heart: This is great.

The base image is currently defined here:

https://github.com/sbt/sbt-native-packager/blob/c882ac2e75ce5d25f3ed7ef8c8cc2b29ae1a7b51/src/main/scala/com/typesafe/sbt/packager/graalvmnativeimage/GraalVMNativeImagePlugin.scala#L31

There are two sbt integration tests here that may require adaption: https://github.com/sbt/sbt-native-packager/tree/main/src/sbt-test/graalvm-native-image

muuki88 avatar Dec 02 '24 11:12 muuki88