Container Image Hardening

Build a small, secure, reproducible container image — multi-stage, non-root, pinned, minimal attack surface. Use when writing or fixing a Dockerfile, when images are huge or slow to build, or when a scan flags container CVEs. Covers layer caching order, multi-stage builds, distroless/minimal bases, non-root runtime, and the .dockerignore/secret-leak traps.

omonuj Updated

File contents

omonuj/claude-skills/tree/main/skills/devops/container-image-hardening commit 0c94e0bc96

Frequently asked questions

npx skillmds@latest add omonuj/container-image-hardening