AGENT SKILL
drin-docker-image-hardener
Workflow for reducing image size and improving security of Docker containers.
- License 许可
- MIT
- 最近更新
- 2026-04-11
- Stars
- ★ 12
- Forks
- 1
01 前言 Front Matter
- name
- drin-docker-image-hardener
- status
- production
- description
- Workflow for reducing image size and improving security of Docker containers.
03 SKILL.md 正文
Docker Image Hardener
Purpose
To reduce the attack surface and deployment time by creating minimal, secure images.
Checkpoints
- Base Image: Use
alpineordistrolesswhere possible. - Multi-Stage: Build in one stage, copy only artifacts to the final stage.
- Permissions: Run as a non-root user.
- Hardening: Remove unnecessary shells, packages, and ssh keys.
- Layers: Minimize layer count by grouping RUN commands.
Rules
- Never use
sudoinside a container. - Explicitly define the
USERin the Dockerfile. - No secrets in the image layers.
04 同仓库更多 Skills
drin-whatsapp-outbound-engine
Specialized workflow for sales and engagement via WhatsApp, focused on speed and intimacy.
★ 12
drin-vector-database-sync
Specialized workflow for managing, syncing, and optimizing data in Vector DBs for RAG systems.
★ 12
drin-ux-interaction-standard
Definition of standards for micro-interactions, animations, and UI feedback states.
★ 12
drin-ux-audit-framework
Heuristic evaluation framework for identifying usability issues in digital products.
★ 12
drin-user-story-generator
Automated generator for well-structured user stories following the INVEST principles.
★ 12
drin-user-feedback-synthesizer
Workflow for aggregating and summarizing user feedback from support tickets, social media, and interviews.
★ 12