Jump to content

Alpine / musl libc support


reinaertvdc

Recommended Posts

To the Hak5 staff, would you consider distributing Cloud C² binaries that will run in Alpine Linux, which is "built around musl libc and busybox" instead of glibc? Alpine uses only a fraction of the storage/ram of other Linux distro's, which is particularly interesting for Docker containers (and Alpine also has some additional security measures). Thank you for considering.

https://alpinelinux.org/about/

Link to comment
Share on other sites

If I do not compile my go apps in the alpine docker container I get the same error.  Here is the fix below.  Build a new container with this one additional line.

 

RUN mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2

Enjoy.

Link to comment
Share on other sites

  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...