News for hackers. Stuff that matters.
Re:Using jlink to cross-compile minimal JREs by aphexairlines on Tuesday January 17, 2023 @09:06AM (#34412481)
You don't need to run jlink yourself to avoid shipping the entire JDK. Here's a java19 runtime docker image at 62MB: https://hub.docker.com/_/eclipse-temurin/tags?page=1&name=19...

Not customizing the runtime per build or per app also potentially helps reuse of docker image layers across your container registries and clusters.

Re:Using jlink to cross-compile minimal JREs by oblio on Tuesday January 17, 2023 @09:36AM (#34412827)
You're adding the whole of Docker as a dependency if you do that.

Not everyone wants that.