39aldo39/Radicale-DecSync

libresolv.so.2 not found, Alpine linux + musl libc

matthew-salerno opened this issue · 1 comments

Hello,
Thank you for work on improving the decentralized world! I'm trying to get radicale-decsync to work with common radicale docker images (specifically tomsquest/docker-radicale) The problem is most of them are made with alpine linux as a base (it is well suited to containers, after all). On alpine linux, libresolv.so.2 is not available, the closest thing being a static library - libresolv.a. I imagine there are other missing dynamic libraries. I believe this is related to Building against musl libc #6 .
It would be great if we could simply wrap up radicale-decsync into a docker container, as python packages get messy pretty fast. Of course we can - it would just require repackaging radicale with another base os - but it seems a more sustainable solution to support Alpine Linux as people may want to use this on bare metal with alpine as well.
Googling "kotlin musl" seems to have promising results, but I won't pretend to know whether or not this is feasible.
Thanks again!

bump