3 ms·
In general, I agree with this, but it specifically doesn't help with issues where glibc vs musl matters. Either your build image's libc (musl in this case) is
by TheDong 11y ago
In general, I agree with this, but it specifically doesn't help with issues where glibc vs musl matters.
Either your build image's libc (musl in this case) is statically linked in and you have the aforementioned issues, or it's not statically linked and your binary won't run. Most things compiled within an ubuntu container won't run in an alpine one; you specifically have to go out of your way to make that so.