Open marshallpierce opened 4 years ago
I would also be interested in running something with a snappy dependency on alpine as well. It would be great it if worked out of the box.
Enabling pure-java mode would help for supporting alpine https://github.com/xerial/snappy-java#using-pure-java-snappy-implementation. This is available since 1.1.7.6
Is there some way we can make snappy-java run on Alpine now? since pure-java has been removed.
Is there any interest in shipping a libsnappyjava.so for musl so it can be used on Alpine, etc? The dockerfile needed to build is trivial:
That, plus a little makefile prodding, is enough to end up with a
Linux/x86_64-musl/libsnappy.so
.However, there are multiple ways of approaching how to select this .so in the jar at runtime. Perhaps the most straightforward would be to add an override system property that chooses the path in the jar specifically, ignoring OS detection. Thoughts?