Skip to content

Commit 1a95398

Browse files
committed
uv install location
Signed-off-by: Gregory Shtrasberg <[email protected]>
1 parent 6f1e7f7 commit 1a95398

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

docker/Dockerfile.rocm

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,7 @@ RUN python3 -m pip install --upgrade pip
1717
RUN apt-get purge -y sccache; python3 -m pip uninstall -y sccache; rm -f "$(which sccache)"
1818

1919
# Install UV
20-
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
21-
22-
# Activate virtual environment and add uv to PATH
23-
ENV PATH="/root/.local/bin:$PATH"
20+
RUN curl -LsSf https://astral.sh/uv/install.sh | env UV_INSTALL_DIR="/usr/local/bin" sh
2421

2522
# This timeout (in seconds) is necessary when installing some dependencies via uv since it's likely to time out
2623
# Reference: https://github.com/astral-sh/uv/pull/1694

0 commit comments

Comments
 (0)