From c49e443f2634d8c9e397df34058d6ea3ea1a7735 Mon Sep 17 00:00:00 2001 From: bheemreddy-samsara Date: Thu, 15 Jan 2026 11:33:37 -0600 Subject: [PATCH] fix(sandbox): Use pip to install uv in Docker build The curl-based uv installer fails in some Docker build environments due to SSL certificate verification issues, even with ca-certificates installed and updated. This commonly occurs with Docker Desktop on macOS when corporate proxies or VPNs intercept SSL traffic. Using pip to install uv avoids this issue entirely while achieving the same result. What changed: - Install uv via pip instead of curl-based installer script - Add explicit ca-certificates package and update-ca-certificates for other curl/wget operations in the container Jira Issue: N/A --- docker/Dockerfile.sandbox | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/Dockerfile.sandbox b/docker/Dockerfile.sandbox index 55bc1bbb..382a2c43 100644 --- a/docker/Dockerfile.sandbox +++ b/docker/Dockerfile.sandbox @@ -10,6 +10,7 @@ ARG EXTRA_PYTHON_PACKAGES="" # Install common utilities + optional apt packages RUN apt-get update && apt-get install -y --no-install-recommends \ + ca-certificates \ curl \ wget \ jq \ @@ -19,13 +20,12 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ tree \ unzip \ ${EXTRA_APT_PACKAGES} \ + && update-ca-certificates \ && rm -rf /var/lib/apt/lists/* \ && apt-get clean -# Install uv for fast Python package management (in shared location) -RUN curl -LsSf https://astral.sh/uv/install.sh | sh \ - && mv /root/.local/bin/uv /usr/local/bin/uv \ - && mv /root/.local/bin/uvx /usr/local/bin/uvx +# Install uv for fast Python package management +RUN pip install --no-cache-dir uv # Copy workspace packages COPY packages/ash-rpc-protocol /tmp/ash-rpc-protocol