The Build Cache
Why a build is fast, why it stops being fast, and what it leaves on disk.
One idea runs through this whole topic: every instruction leaves a layer. That single fact explains why a rebuild takes one second or twelve, why the order of two lines in a Dockerfile is worth arguing about, and where the tens of gigabytes went. It is the last topic because it only makes sense once you have built something.
Contents
7 cardsnot started