docker

Janne Sauvala 2024-10-15T10:10:57.101269Z

I would need to build some Java libs in a container. Our legacy image was based on openJDK 11 Debian 11 slim, but I noticed that openJDK stopped producing new images and is deprecated. Has someone moved to some other image that would use Debian 12 (bookworm) slim variant and have JDK 11? One option is that I just start from slim Debian 12 and then install JDK 11 to it manually.

oyakushev 2024-10-15T11:35:36.635559Z

Does it have to be Debian? Adoptium produces Ubuntu-based JDK images: https://hub.docker.com/_/eclipse-temurin

Janne Sauvala 2024-10-15T11:44:49.616459Z

I would prefer Debian to reduce chances for regression issues

lukasz 2024-10-15T17:21:19.100689Z

I'm in the same boat - we have a custom base image for running uberjars, it's based on Temurin distro and bitnami/minideb:bookworm to minimize the image size

👀 1
cap10morgan 2024-10-15T22:24:10.875189Z

We publish Debian-based images. But it sounds like you only need Java, not Clojure? Might be the wrong Slack if so 😉