containerfile-creator
Installation
SKILL.md
Containerfile Creator
Create secure, efficient, and maintainable container images following open source best practices.
Workflow
- Determine the project language/framework
- Check host environment for SELinux enforcement (e.g.
getenforce) if using Podman/Buildah - Load the appropriate reference file for examples (see Language-Specific References below)
- Apply the core structure and patterns from this document
- Write the Containerfile following the Final Stage Instruction Ordering
File Naming
- Prefer
ContainerfileoverDockerfile - Use descriptive names for variants:
alpine.Containerfile,distroless.Containerfile,ubi.Containerfile