forge-dockerfile
CommunityShip small, secure, pinned Dockerfiles.
Software Engineering#container security#dockerfile#dockerignore#dependency pinning#signal handling#multi-stage builds#secret mounts
Authorf4rkh4d
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It prevents AI-generated Dockerfiles from being insecure, non-deterministic, and inefficient by enforcing production-grade Dockerfile conventions that avoid common CI and runtime failures.
Core Features & Use Cases
- Production-grade Dockerfile structure: Multi-stage builds that keep runtime-only artifacts in the final image.
- Reproducible and secure dependency handling: Pinned base images, cache-friendly COPY ordering, and secret mounts instead of baking secrets into layers.
- Operational correctness: Non-root execution, exec-form CMD for proper signal handling, and required
.dockerignorehygiene to keep builds fast and consistent. - Works across common stacks: Node, Go, Rust, and Python defaults, with worked Dockerfile examples and a dedicated verifier script.
Quick Start
Use the Dockerfile verifier to check your Dockerfile at skills/infra/forge-dockerfile/verify/check_dockerfile.sh and fix any violations it reports.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: forge-dockerfile Download link: https://github.com/f4rkh4d/forge-skill/archive/main.zip#forge-dockerfile Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.