title: How can I add persistent storage to my openshift s2i build to prevent downloading deps again on every build?
body: <p>I have a Java app running on openshift and I am doing frequent builds using s2i as part of a CI pipeline. Since the build container is ephemeral, maven has to download all dependencies on every build, making it slow. How can I add persistent storage to my build so that the dependencies stick around between builds?</p>
  
  <p>I'm using openshift container platform 3.9 and I have searched the documentation on builds and did not find anything about persistent storage.</p>
  
  <p><a href="https://docs.openshift.com/container-platform/3.9/dev_guide/builds/build_strategies.html#source-to-image-strategy-options" rel="nofollow noreferrer">https://docs.openshift.com/container-platform/3.9/dev_guide/builds/build_strategies.html#source-to-image-strategy-options</a></p>