How we reduced our docker build times by 40%
<p>Similar to many companies, we build docker images for all components that are used in our product. Over time, a couple of these images became bigger and bigger and also our CI builds were taking longer and longer. My goal is that CI builds don’t take longer than 5 minutes. The idea comes from the fact that it is the ideal length for a coffee break. When builds take longer than that, it slows down the developer productivity.</p>
<p>The reason for the loss in productivity is caused by:</p>
<ul>
<li>developers need to wait for the build to complete and thus waste time</li>
<li>developers start on something new and come back to it at a later time. This requires more context switching which often also leads to inefficiencies.</li>
</ul>
<p><img alt="" src="https://miro.medium.com/v2/resize:fit:700/1*tjTUpEi8h53-DMkweX2TDQ.png" style="height:250px; width:700px" /></p>
<p>In this blogpost, I want to illustrate 2 small changes that we applied and that resulted in a drastic improvement of our build times.</p>
<p><a href="https://medium.com/datamindedbe/how-we-reduced-our-docker-build-times-by-40-afea7b7f5fe7"><strong>Read More</strong></a></p>