reinaertvdc Posted May 26, 2019 Share Posted May 26, 2019 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/ Quote Link to comment Share on other sites More sharing options...
PoSHMagiC0de Posted June 2, 2019 Share Posted June 2, 2019 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. 2 Quote Link to comment Share on other sites More sharing options...
reinaertvdc Posted July 4, 2019 Author Share Posted July 4, 2019 Sorry for my slow response, I only got around to trying it out now. Adding your line works indeed, many thanks! My C² container now uses <20MB RAM, a fraction of what it used before, awesome! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.