Skip to content

Commit

Permalink
Path change after Astral 0.5.0 update (#4336)
Browse files Browse the repository at this point in the history
* Astral 0.5.0 path change

https://github.com/astral-sh/uv/releases

Use XDG (i.e. ~/.local/bin) instead of the Cargo home directory in the installer

* Fix path in production-app-platform example

---------

Co-authored-by: Masen Furer <m_github@0x26.net>
  • Loading branch information
1Codev and masenf authored Nov 12, 2024
1 parent 686548c commit 7cf3050
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-example/production-app-platform/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# Stage 1: init
FROM python:3.11 as init

ARG uv=/root/.cargo/bin/uv
ARG uv=/root/.local/bin/uv

# Install `uv` for faster package boostrapping
ADD --chmod=755 https://astral.sh/uv/install.sh /install.sh
Expand Down
2 changes: 1 addition & 1 deletion docker-example/production-compose/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Stage 1: init
FROM python:3.11 as init

ARG uv=/root/.cargo/bin/uv
ARG uv=/root/.local/bin/uv

# Install `uv` for faster package boostrapping
ADD --chmod=755 https://astral.sh/uv/install.sh /install.sh
Expand Down

0 comments on commit 7cf3050

Please sign in to comment.