Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What's the best way to run java apps in a container nowadays?

The official openjdk images are based on "oracle Linux" and that doesn't sound right :) is there good small and well supported java image based on a popular distribution?



If that is a problem for you there is AdoptOpenJDK: https://hub.docker.com/_/adoptopenjdk

EDIT: Also openjdk has buster based images: https://hub.docker.com/layers/openjdk/library/openjdk/jdk-bu...


Use jib (java image builder) with maven or gradle and it will build an image with distroless-java plus your app:

https://github.com/GoogleContainerTools/jib https://github.com/GoogleContainerTools/distroless/blob/mast...


Isn't Oracle Linux basically rebranded RHEL?




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

Search: