Skip to content

Commit

Permalink
use arch from uname
Browse files Browse the repository at this point in the history
  • Loading branch information
ghaith committed Dec 10, 2024
1 parent 5b605f4 commit a767e96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions linux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ RUN apt-get install -y zip clang lldb lld clangd \

# Install llvm-lit, which we use for correctness tests
RUN VER=$(curl --silent -qI https://github.com/astral-sh/uv/releases/latest | awk -F '/' '/^location/ {print substr($NF, 1, length($NF)-1)}'); \
wget https://github.com/astral-sh/uv/releases/download/${VER}/uv-x86_64-unknown-linux-gnu.tar.gz -O uv.tar.gz \
wget https://github.com/astral-sh/uv/releases/download/${VER}/uv-`uname -m`-unknown-linux-gnu.tar.gz -O uv.tar.gz \
&& tar xvzf uv.tar.gz --directory=/usr/local/ \
&& mv /usr/local/uv-x86_64-unknown-linux-gnu /usr/local/uv/
&& mv /usr/local/uv-`uname -m`-unknown-linux-gnu /usr/local/uv/
ENV PATH="/usr/local/uv:${PATH}"
ENV UV_TOOL_DIR="/usr/local/uv"
ENV UV_TOOL_BIN_DIR="/usr/local/bin/"
Expand Down

0 comments on commit a767e96

Please sign in to comment.