一键导入
docker-image-optimization
Strategies for reducing builder image size and securing production containers.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Strategies for reducing builder image size and securing production containers.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Extracting key findings from AI/ML research papers.
Auditing frontend components for WCAG AA compliance.
Guide users through resolving 4xx and 5xx API errors.
Diagnosing failed GitHub Action or GitLab CI runs.
Framework to analyze and summarize competitor features and market positioning.
Walk new users through the initial setup and configuration.
| name | Docker Image Optimization |
| description | Strategies for reducing builder image size and securing production containers. |
| category | devops |
| tags | ["devops","templates","best-practices"] |
| version | 1.0.0 |
Strategies for reducing builder image size and securing production containers.
devops domain.docker-image-optimizationAnalyze the current Dockerfile for multi-stage build support.
Move compilation and heavy dependencies to the builder stage.
Use a distroless or alpine base image for the final runtime stage.
Clear package manager caches (e.g., apt-get clean or rm -rf /var/cache/apk/*) in the same layer they are installed.