Take a look at http://stackoverflow.com/questions/35614923/errors-compiling-mesos-on-alpine-linux , this guy has successfully patched an older version of the mesos to build on alpine linux.
On Sun, Apr 17, 2016 at 3:19 AM, Dick Davies <[email protected]> wrote: > Has anyone been able to build libmesos (0.28.x ideally) on Alpine Linux > yet? > > I'm trying to get a smaller spark docker image and though that was > straightforward, the docs say I need libmesos in the image to be able > to use it (which I find a bit suprising, but it seems to be correct). >

