Slow Docker build times in CI/CD pipelines
6/10 MediumDocker builds are slow on CI/CD pipelines, delaying deployment. Requires manual optimization (reordering Dockerfile, enabling BuildKit) that isn't default behavior.
Sources
- I'll think twice before using GitHub Actions again - Hacker Newsnews.ycombinator.com › item
- Top five most common issues with Docker (and how to solve them)
- Ultimate Docker Guide 2025: Join the Top 10 Developers - Collabnix
- Workarounds For Improving...
- Real-World Docker Challenges Every DevOps Engineer ...
- What are the Problems with Docker | Sirius Open Source
- Our docker adoption and its challenges
Collection History
Around 20% of participants responded that clean builds are a significant blocker for them. One area where clean builds might happen often is Continuous Integration (CI). 1495 respondents said that they use CI to build Rust code, and around 25% of them consider its performance to be a big blocker for them.
Caching of Docker layers is tricky, silly (you re-arrange a single command line and poof, it's invalidated, including all the layers after) and hard to make the most of.
Docker builds take forever on CI/CD pipelines... Reorder Dockerfile to cache dependencies first. Enable BuildKit for parallel, cache-efficient builds