Open vilgotf opened 4 years ago
This is effectively a feature request to support musl. The most reliable way to support it would be to compile the natives for musl separately and make the native lib loader detect which one it should load.
You can patch elf with glibc interpreter if you don't want to recompile and still get a smaller image. Here is an example, check the Dockerfile
@cedrickring fyi
I have probably the same issue. Documented in more detail here https://github.com/jagrosh/MusicBot/issues/1087 . If I understand this right lavaplayer is shipping it's own native library that will be embedded in the jar file and that native library is not platform independent? In that case I feel the proper way to do this is to static link libc too so that you do not depend on the platform libc. That should make it work on all forms of Linux.
core dump: dump.txt
Steps to reproduce: (with red-discordbot)
Related: Cog-Creators/Red-DiscordBot/issues/4520 #177