Optimize uv installation in docker container

This commit is contained in:
Robert Resch 2024-09-02 20:28:39 +00:00 committed by GitHub
parent faefe624f6
commit b0b7ec887e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ ENV \
ARG QEMU_CPU
# Install uv
RUN pip3 install uv==0.2.27
COPY --from=ghcr.io/astral-sh/uv:0.2.27 /uv /bin/uv
WORKDIR /usr/src

View file

@ -25,7 +25,7 @@ ENV \
ARG QEMU_CPU
# Install uv
RUN pip3 install uv=={uv}
COPY --from=ghcr.io/astral-sh/uv:{uv} /uv /bin/uv
WORKDIR /usr/src