Skip to content

Commit 8e2953a

Browse files
committed
fix(docker): correct install uv
1 parent 8a7395c commit 8e2953a

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ jobs:
2323
- "3.13"
2424
variant:
2525
- bookworm
26-
- bookworm-slim
26+
- slim-bookworm
2727
- trixie
28-
- trixie-slim
28+
- slim-trixie
2929
steps:
3030
- uses: actions/checkout@v5.0.0
3131
- uses: docker/login-action@v3.5.0

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
- "3.13"
2222
variant:
2323
- bookworm
24-
- bookworm-slim
24+
- slim-bookworm
2525
- trixie
26-
- trixie-slim
26+
- slim-trixie
2727
include:
2828
- python: "3.13"
2929
is_default_python: true

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@ ARG PYTHON_VERSION=3.13
22
ARG VARIANT=bookworm
33
ARG UV_VERSION=0.8.12
44

5-
FROM ghcr.io/astral-sh/uv:${UV_VERSION}-python${PYTHON_VERSION}-${VARIANT} AS uv
5+
FROM ghcr.io/astral-sh/uv:${UV_VERSION} AS uv
66

77
FROM python:${PYTHON_VERSION}-${VARIANT} AS base
88

9-
COPY --from=uv /usr/local/bin/uv /usr/local/bin/uv
10-
COPY --from=uv /usr/local/bin/uvx /usr/local/bin/uvx
9+
COPY --from=uv /uv /uvx /usr/local/bin/
1110

1211
ARG UV_PROJECT_ENVIRONMENT=/opt/uv/venv
1312

0 commit comments

Comments
 (0)