Efficiently caching Docker builds in CI (Dockerhash)
This post provides a new way to speed up your Docker-based CI builds with a new caching technique called “Dockerhash”. Introduction Docker caches each layer as an image is built, and each layer will only be re-built if it or the layer above it has changed since the last build. Because of this, building non trivial Dockerfiles without cache can take quite some time. In case you have to do so very frequently, as in case of automated CI builds, it can eat up a considerable amount of time in the daily workflow of a developer. Especially when working with larger images (for example in a monolithic system architecture), this can be an incredibly costly factor in software development. ...