rule-docker
CommunityEnforce Docker conventions with guardrails
Authorbtabaska
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Dockerfiles and docker-compose configurations often drift from secure, maintainable conventions. This skill provides guardrails to enforce base image pinning, multi-stage builds, non-root user execution, layer hygiene, and secrets handling, ensuring consistent and auditable container practices across projects.
Core Features & Use Cases
- Enforce pinned base images with digests and non-latest tags.
- Enforce multi-stage build patterns and runtime minimal images.
- Enforce non-root execution and proper file permissions.
- Maintain layer hygiene and avoid caching pitfalls.
- Enforce secure handling of secrets and environment variables.
- Provide governance-ready checks for CI/CD pipelines and code reviews.
- Use Case: Ensure a repository’s Docker configurations meet FedRAMP-like security and production-readiness standards.
Quick Start
Apply the rule-docker skill to validate Dockerfiles and docker-compose configurations against the defined conventions.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: rule-docker Download link: https://github.com/btabaska/simpler-grants-documentation-automation/archive/main.zip#rule-docker 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.