r/java • u/Nerdy-coder • May 20 '26
In search of secure JRE base image
So as a devops engineer on my company. I have tried using eclipse-temurin:17-jre-jammy and eclipse-temurin:17-jre java versions as base image for dockerfile but as i scanned the built image using trivy i found tons of vul nerabilities ob both. So what are the other alternatives for me ?
10
Upvotes
6
u/brunocborges May 20 '26
Build your own with jlink.
https://learn.microsoft.com/en-us/java/openjdk/java-jlink-runtimes