3 ms·
> At Blacksmith, we regularly see our customer’s Docker builds taking 30 minutes or more What’s the most common cause of builds taking this long in the first p
by xyst 2y ago
> At Blacksmith, we regularly see our customer’s Docker builds taking 30 minutes or more
What’s the most common cause of builds taking this long in the first place…
Worst I have ever had was 5 minutes, but subsequent builds were reduced to under a minute due to build cache, creating multi-stage builds, and keeping the layers thin and optimizing the .dockerignore
- zerotolerance 2y agoPeople doing all the work of dependency fetches, code builds, and test execution inside ephemeral environments never designed for building software within.
- imtringued 2y agoFetching packages isn't the problem. The problem is the lack of "out of the box" caching pf the downloaded packages. You'll have to do that yourself with artifactory and Docker does not nudge you towards doing that, at all.
- kapilvt 2y agoMultiarch via qemu
- adityamaru 2y agoThis is a common cause yeah but becoming less of an issue with increasing support for ARM runners.