Search code examples
graalvmgraalvm-native-image

What is the difference between GraalVM native-image tagged with and without 'muslib' prefix?


I do not understand what does this prefix muslib means for GraalVM native-images.
Links to native-image with and without the prefix. Docs does not describe it.

Can anybody explain? Thanks!


Solution

  • At here says

    Static native images are statically linked binaries which can be used without any additional library dependencies. This makes them easier to distribute and to deploy on slim or distroless container images. They are created by statically linking against musl-libc, a lightweight, fast and simple libc implementation.

    That musl-libc used in those dockers and named as muslib. you can find example docker file here

    And "ol" stands for Oracle Linux check here.