diff --git a/docker/build_from_pip/Dockerfile.build_from_pip b/docker/build_from_pip/Dockerfile.build_from_pip index dda6e50cbb7..2b45ace2f5f 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