Hacker News new | past | comments | ask | show | jobs | submit login

Alpine linux is great, however lack of JDK (needed for Java/Scala/Clojure/JRuby/Groovy projects) keeps me from using it. Hopefully this can be fixed soon :)



I remember seeing a blog post[1] about getting JRE running on Alpine containers.

[1]: https://developer.atlassian.com/blog/2015/08/minimal-java-do...


Why can't you build an image with the JDK based on Alpine and use that as your base image for everything else?


glibc. alpine uses musl, and from what I understand this is actually not a thing you can do very easily. not that I use jvm in an way (thankfully)

at the very least, it's probably not worth spending too much time on, because you'd get better optimisations from doing other things


Alpine has Sable, and you can also compile your own OpenJDK (if it doesn't have it already). There are plenty of reasons to use Alpine and just as many not to use it, but lack of a JVM isn't one of them (Pretty much same with Docker- it added nothing of apparently value to me more than that LXC did (or BSD jails like someone above me mentioned), but I'm sure it provides value to some people.)


This is pretty helpful and what I've used.

https://github.com/anapsix/docker-alpine-java


I haven't yet used Alpine, but from its wiki it seems you can easily create the packages yourself?




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: