https://github.com/osquery/osquery logo
#linux
Title
# linux
j

Joffrey

06/07/2021, 8:55 AM
Hi there 👋 Glad to join the osquery community 🙂 already got a question for you guys, i would like to build osquery on alpine linux, does anyone already tried ? i've read that was not supported but does it means that will not work in any case ? Many thanks
👋 1
s

seph

06/07/2021, 11:56 AM
Build or use? What processor architecture If alpine is glibc, or enough compatible, and you're on x86_64 it probably just works
j

Joffrey

06/07/2021, 12:34 PM
both, build and use, there is no glibc on alpine, only musl which is lightweight glibc
s

seph

06/07/2021, 2:40 PM
Building for a new platform can be a pretty big endeavor I don’t know that I’ve seen anyone try for alpine, you could try it and see. Relatedly, but also completely different, someone has been asking about Android. And they discovered that they could lin glibc statically. https://github.com/osquery/osquery/issues/7144
j

Joffrey

06/08/2021, 1:58 PM
Thanks for your comment @seph i've build it, but it's a bit heavy and we loose the interest of alpine image which is built for being small
s

seph

06/08/2021, 2:03 PM
To be clear… I’m not aware of anyone working on a port to Alpine. It’s certainly something you could try or there may be various hackish approachs as mentioned in that ticket.
4 Views