Dockerfile Optimizer

Shrink and harden an existing Dockerfile — multi-stage builds, cache-friendly layer order, a lean pinned base image, a .dockerignore, and a non-root runtime user — without changing what the image runs. Use when an image is too large, builds are slow because the cache never hits, or a scan flags the container running as root.

imtiazrayhan fa17076 4.5 KB Updated

File contents

imtiazrayhan/agentscamp-library/tree/main/skills/dockerfile-optimizer commit fa170761fd

Frequently asked questions

npx skillmds@latest add imtiazrayhan/dockerfile-optimizer