From 5a84b76b86e03694d612afc8f0225512d9b4ddc9 Mon Sep 17 00:00:00 2001 From: Gregory Shtrasberg <156009573+gshtras@users.noreply.github.com> Date: Fri, 14 Nov 2025 16:34:18 -0500 Subject: [PATCH] [ROCm][CI/Build] Change install location of uv (#28741) Signed-off-by: Gregory Shtrasberg --- docker/Dockerfile.rocm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docker/Dockerfile.rocm b/docker/Dockerfile.rocm index 137452cad2c15..731a97d93da1f 100644 --- a/docker/Dockerfile.rocm +++ b/docker/Dockerfile.rocm @@ -17,10 +17,7 @@ RUN python3 -m pip install --upgrade pip RUN apt-get purge -y sccache; python3 -m pip uninstall -y sccache; rm -f "$(which sccache)" # Install UV -RUN curl -LsSf https://astral.sh/uv/install.sh | sh - -# Activate virtual environment and add uv to PATH -ENV PATH="/root/.local/bin:$PATH" +RUN curl -LsSf https://astral.sh/uv/install.sh | env UV_INSTALL_DIR="/usr/local/bin" sh # This timeout (in seconds) is necessary when installing some dependencies via uv since it's likely to time out # Reference: https://github.com/astral-sh/uv/pull/1694