Changing out glibc for musl can be done if you control the linker invocations on the object files. This would be extremely difficult (but not impossible) for those like myself that use closed-source third-party shared objects linked against glibc.
> To make it work I had to find a docker image with an old enough glibc to use as my "compiler",
it's not like it is esoteric knowledge though: https://docs.appimage.org/reference/best-practices.html#bina...
It was a nice learning experience, but far from the "Easy to make, runs everywhere" marketing Appimages have.
Does using muls libc and statically linking everything actually work out in practice? I read somewhere (HN comment, don't have reference) that it still might not be enough and your programs still need to the OS libc.