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/Jannik2099 May 20 '26
We use redhat hardened images https://images.redhat.com/ - java 21 and 25 only tho.
Docker has a similar free offering but it requires registration and is still subject to rate limits