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 ?
9
Upvotes
View all comments
Show parent comment
1
u/koskieer May 20 '26
Java is well supported on those distroless images what people has suggested here, but for example adding extra locales for C# causes little bit pain at least for first time. How buildpacks are handling locales and timezones? Are they easy to add to your .NET app?