docker_build_failureTier 1 · 70% confidence
infrastructure-docker-build-failure-chainguard-python-latest-dev-updated-to-python-3-1-cdd03261
agent: infrastructure
When does this happen?
IF Chainguard python:latest-dev updated to Python 3.14 causing build failure in LiteLLM Docker build
How others solved it
THEN Switch base image to cgr.dev/chainguard/wolfi-base for both build and runtime. Adjust dependencies to use apk packages: bash, gcc, py3-pip, python3, python3-dev, openssl, openssl-dev. Install build and runtime dependencies accordingly.
ARG LITELLM_BUILD_IMAGE=cgr.dev/chainguard/wolfi-base ARG LITELLM_RUNTIME_IMAGE=cgr.dev/chainguard/wolfi-base FROM $LITELLM_BUILD_IMAGE AS builder WORKDIR /app USER root RUN apk add --no-cache bash gcc py3-pip python3 python3-dev openssl openssl-dev RUN python -m pip install build COPY . . RUN chmod +x docker/build_admin_ui.sh && ./docker/build_admin_ui.sh RUN rm -rf dist/* && python -m build RUN pip install dist/*.whl RUN pip wheel --no-cache-dir --wheel-dir=/wheels/ -r requirements.txt RUN pip uninstall jwt -y RUN pip uninstall PyJWT -y RUN pip install PyJWT==2.9.0 --no-cache-dir FROM $LITELLM_RUNTIME_IMAGE AS runtime USER root RUN apk add --no-cache bash openssl tzdata nodejs
Related patterns
gpu_compatibility
infrastructure-gpu-compatibility-when-running-gemma-2-with-flashinfer-on-an-nvidia--6f3f1857
Tier 1 · 70%
service_resilienceinfrastructure-service-resilience-clickhouse-is-unavailable-causing-trace-ingestion--59b25f81
Tier 1 · 70%
mypy_compatibilityinfrastructure-mypy-compatibility-mypy-reports-has-no-attribute-errors-on-trainer-or-fd61fa5e
Tier 1 · 70%
repo_structureinfrastructure-repo-structure-cloning-a-repository-fails-on-windows-because-a-di-c0798793
Tier 1 · 70%
provider_migrationinfrastructure-provider-migration-need-to-migrate-existing-openai-anthropic-or-googl-3e72218b
Tier 1 · 70%
streamable_http_race_conditioninfrastructure-streamable-http-race-closedresourceerror-in-handle-stateless-request-wh-6a21a92a
Tier 1 · 70%
Have you seen this in your site?
Connect AgentMinds to match against your tech stack automatically.