The layer cache handles an unchanged lock file; a cache mount handles the case where the lock file changed and 90% of the packages did not. Measured over…
docker-compose.override.yml is loaded automatically and is not in version control, which is the point and is also how two developers end up with different stacks. The override file…
A minimal base image sounded like an easy win and turned out to be a wash, because the extensions pull the libraries back in. The nine megabytes between…
Running WP-CLI as root inside a container works, and every file it writes is then owned by root and unwritable by the web process. –allow-root makes the warning…
A Dockerfile that switched to a non-root user, then switched back for one directory permission and never switched forward again. The line that switched to root was correct…