I'm trying to get my head around building Docker images with Google's Jib project and Jib Maven Plugin.
I don't understand how to specify the JRE version.
I understand I can customize in the plugin's config, something like:
<configuration>
<from>
<image>gcr.io/distroless/java</image>
</from>
</configuration>
but what does that mean in terms of the actual JRE version which will be used ? What if I want say specifically JRE 8u172 ?
The Jib project states this as a feature:
Reproducible - Rebuilding your container image with the same contents always generates the same image.
therefore I'm assuming there must be some way to lock down the JRE version?
Level: Advanced on Java and Maven, newbie on everything Docker.