Optimize Docker Build Cache

Optimize Docker build times using layer caching, multi-stage builds, BuildKit features, and dependency-first copy patterns. Applicable to R, Node.js, and Python projects. Use when Docker builds are slow due to repeated package installations, when rebuilds reinstall all dependencies on every code change, when image sizes are unnecessarily large, or when CI/CD pipeline builds are a bottleneck.

pjt222 Updated 44 repo stars

File contents

pjt222/agent-almanac commit 930e8cb3ba

Frequently asked questions

npx get-skill add pjt222/optimize-docker-build-cache-10