title: JRE version with jib (Docker)
body: <p>I'm trying to get my head around building Docker images with Google's <a href="https://github.com/GoogleContainerTools/jib" rel="nofollow noreferrer">Jib project</a> and <a href="https://github.com/GoogleContainerTools/jib/tree/master/jib-maven-plugin" rel="nofollow noreferrer">Jib Maven Plugin</a>.</p>
  
  <p>I don't understand how to specify the JRE version.</p>
  
  <p>I understand I can customize in the <a href="https://github.com/GoogleContainerTools/jib/tree/master/jib-maven-plugin#from-object" rel="nofollow noreferrer">plugin's config</a>, something like:</p>
  
  <pre><code>&lt;configuration&gt;
    &lt;from&gt;
      &lt;image&gt;gcr.io/distroless/java&lt;/image&gt;
    &lt;/from&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>but what does that mean in terms of the actual JRE version which will be used ?  What if I want say specifically JRE 8u172 ?</p>
  
  <p>The Jib project states this as a feature:</p>
  
  <blockquote>
    <p><strong>Reproducible</strong> - Rebuilding your container image with the same contents
    always generates the same image.</p>
  </blockquote>
  
  <p>therefore I'm assuming there must be some way to lock down the JRE version?</p>
  
  <p>Level: Advanced on Java and Maven, newbie on everything Docker.</p>