Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

fix docker

Ishaan Jaffer3090197861fb
diff --git a/docker/build_from_pip/Dockerfile.build_from_pip b/docker/build_from_pip/Dockerfile.build_from_pip
index dc8183b55f7..0c773778166 100644
--- a/docker/build_from_pip/Dockerfile.build_from_pip
+++ b/docker/build_from_pip/Dockerfile.build_from_pip
@@ -1,4 +1,4 @@
-FROM cgr.dev/chainguard/python:latest-dev
+FROM cgr.dev/chainguard/python:3.13-dev
USER root
WORKDIR /app
@@ -7,9 +7,7 @@ ENV HOME=/home/litellm
ENV PATH="${HOME}/venv/bin:$PATH"
# Install runtime dependencies
-# Note: The base image has Python 3.14, but python3-dev installs Python 3.13 which conflicts.
-# The -dev variant should include Python headers, but if compilation fails, we may need
-# to install python-3.14-dev specifically (if available in the repo)
+# Note: Using Python 3.13 for compatibility with ddtrace and other packages
# rust and cargo are required for building ddtrace from source
RUN apk update && \
apk add --no-cache gcc openssl openssl-dev rust