analyze-docker-build-errors

Installation
SKILL.md

Docker Build Error Analysis

Analyze Dockerfile and build logs for PHP project build failures and provide targeted fixes.

Common Build Error Patterns

Error Category Symptom Root Cause
Extension compilation configure: error: ... Missing dev packages
Package not found E: Unable to locate package Wrong package name for base image
Permission denied COPY failed: permission denied File ownership or Docker socket
Memory exhausted Allowed memory size exhausted Composer or PHP memory limit
Context too large sending build context... 2GB Missing .dockerignore
Multi-stage failure COPY --from=builder ... not found Wrong stage name or path

Detection Patterns

1. Extension Compilation Failure

Related skills
Installs
4
GitHub Stars
71
First Seen
Mar 17, 2026