After: compact debugging brief
Debug Docker build failure.
Type:
- Docker build
Keep:
- cmd: docker buildx build --progress=plain -t api-image .
- base image: python:3.12-slim
- failing step: #6 [4/5] RUN pip install --no-cache-dir -r requirements.txt
- Dockerfile:9 -> RUN pip install --no-cache-dir -r requirements.txt
- error: No matching distribution found for private-package==0.4.0
- exit: process did not complete successfully: exit code: 1
Folded:
- cached layers, dockerfile transfer, package download chatter, repeated solve wrapper lines
Ask: root cause, smallest fix, verify command.