Re:Ask HN: Has anyone migrated off containerized infrastruct...
by PragmaticPulp on Friday August 14, 2020 @10:21AM
(#24158287)
> If you image has correct caching
This is the hangup for most CI/CD systems with containers. Typical configurations (e.g. Gitlab basic setup) don't leverage any caching, so every container is built 100% from scratch, every time.
Adjusting the system to properly utilize caching and ordering your container builds in a way that the most volatile steps are as late as possible in the build will massively speed up container builds.
If you image has correct caching, rebuilding it shouldn't take much time. Most of your time is likely spent in CI and rolling deployments, both of which you can manually skip.