Hacker News new | ask | show | jobs
by aphexairlines 1242 days ago
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.

1 comments

You're adding the whole of Docker as a dependency if you do that.

Not everyone wants that.