Docker Image Size Analyzer
Analyzes and optimizes Docker image sizes for PHP projects by identifying bloat and recommending efficient layering strategies.
This skill provides Claude with the specialized knowledge to audit Dockerfiles and container configurations specifically for PHP environments. It helps developers drastically reduce their image footprint by detecting uncleaned build dependencies, unnecessary Composer development packages, and inefficient base image choices. By applying industry best practices like multi-stage builds and precise layer management, it ensures faster CI/CD pipelines, lower storage costs, and improved container deployment performance.
主な機能
0145 GitHub stars
02Actionable multi-stage build patterns for PHP-FPM and CLI
03PHP-specific optimization for Composer vendor directories
04Comparison metrics between Alpine and Debian base image footprints
05Detection of missing .dockerignore files and inefficient COPY commands
06Identification of bloated Docker layers and uncleaned build dependencies
ユースケース
01Auditing legacy PHP Dockerfiles for modern containerization best practices
02Reducing CI/CD pipeline build and upload times by shrinking Docker images
03Optimizing cloud infrastructure costs by minimizing production container storage