In RHOCP 4.x. it is not possible to reuse old dockerfile layers everytime a new build process is triggered
Issue
- Every time a
Dockerfileis built, theprevious layersare notcachedand the build starts from the very beginning. This causes the build to run for along time.
Environment
- Red Hat Openshift Container Platform 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.