From 6358be3d0be84c80956b9ec9acbbc9918bfa504c Mon Sep 17 00:00:00 2001 From: Ishaan Jaffer Date: Sat, 6 Dec 2025 09:44:09 -0800 Subject: [PATCH] fix build from PIP --- docker/build_from_pip/Dockerfile.build_from_pip | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/build_from_pip/Dockerfile.build_from_pip b/docker/build_from_pip/Dockerfile.build_from_pip index dda6e50cbb..2b45ace2f5 100644 --- a/docker/build_from_pip/Dockerfile.build_from_pip +++ b/docker/build_from_pip/Dockerfile.build_from_pip @@ -10,8 +10,9 @@ ENV PATH="${HOME}/venv/bin:$PATH" # 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) +# rust and cargo are required for building ddtrace from source RUN apk update && \ - apk add --no-cache gcc openssl openssl-dev + apk add --no-cache gcc openssl openssl-dev rust cargo RUN python -m venv ${HOME}/venv RUN ${HOME}/venv/bin/pip install --no-cache-dir --upgrade pip