Every instruction produces a layer, and a layer is reused only if every instruction before it is unchanged. Copying the source before installing dependencies therefore reinstalls everything on…
Building assets inside the runtime image drags a compiler toolchain into production, and deleting it afterwards does nothing because layers are additive. Until May the workaround was two…
Copying files into the live directory means the site serves a half-updated tree for the duration — new templates against old classes, for as long as the copy…
A composer.json edited by hand and a lock file regenerated on a different machine drift apart quietly, and the first symptom is usually a deploy installing something nobody…
Deploying by rsync on a Friday afternoon, and what replaced it: lint, test, build, stage, promote — with a rollback that is the same mechanism rather than a…
The shared-folder problem that nearly killed this last year is gone. What changes in the compose file, what the new file sharing costs, and where Linux and Mac…