3 ms·
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
by forty 6y ago
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?
- aphexairlines 6y agoUse 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/jib https://github.com/GoogleContainerTools/distroless/blob/master/java/README.md https://github.com/GoogleContainerTools/distroless/blob/mast...
- germanier 6y agoIsn't Oracle Linux basically rebranded RHEL?
- inyorgroove 6y agoIf that is a problem for you there is AdoptOpenJDK: https://hub.docker.com/_/adoptopenjdk https://hub.docker.com/_/adoptopenjdk EDIT: Also openjdk has buster based images: https://hub.docker.com/layers/openjdk/library/openjdk/jdk-buster/images/sha256-6312f499761cff6614568395c906584a8ae637164b4b67e044c807c3421cc977?context=explore https://hub.docker.com/layers/openjdk/library/openjdk/jdk-bu...