Dockerfile

Compose, optimize, and fix Dockerfiles for fast, cache-friendly builds and the smallest secure final image — multi-stage, deps-before-source layer caching, and a final base driven toward scratch / distroless / slim. Keeps builds portable when BuildKit is unavailable and secrets out of layers, runs non-root, pins bases, and gates on a linter.

petr-korobeinikov f639131 3 files · 53.5 KB Updated

File contents

petr-korobeinikov/skills/tree/main/skills/dockerfile commit f6391310f2

Frequently asked questions

npx skillmds@latest add petr-korobeinikov/dockerfile