Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,18 @@ jobs:
- python:3.10-slim-bookworm,python3.10-bookworm-slim
- python:3.9-slim-bookworm,python3.9-bookworm-slim
- python:3.8-slim-bookworm,python3.8-bookworm-slim
- python:3.14-rc-trixie,python3.14-rc-trixie
- python:3.13-trixie,python3.13-trixie
- python:3.12-trixie,python3.12-trixie
- python:3.11-trixie,python3.11-trixie
- python:3.10-trixie,python3.10-trixie
- python:3.9-trixie,python3.9-trixie
- python:3.14-rc-slim-trixie,python3.14-rc-trixie-slim
- python:3.13-slim-trixie,python3.13-trixie-slim
- python:3.12-slim-trixie,python3.12-trixie-slim
- python:3.11-slim-trixie,python3.11-trixie-slim
- python:3.10-slim-trixie,python3.10-trixie-slim
- python:3.9-slim-trixie,python3.9-trixie-slim
steps:
# Login to DockerHub (when not pushing, it's to avoid rate-limiting)
- uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
Expand Down
18 changes: 16 additions & 2 deletions docs/guides/integration/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,20 @@ And the following derived images are available:
- `ghcr.io/astral-sh/uv:python3.10-bookworm-slim`
- `ghcr.io/astral-sh/uv:python3.9-bookworm-slim`
- `ghcr.io/astral-sh/uv:python3.8-bookworm-slim`
- Based on `python3.x-trixie`:
- `ghcr.io/astral-sh/uv:python3.14-rc-trixie`
- `ghcr.io/astral-sh/uv:python3.13-trixie`
- `ghcr.io/astral-sh/uv:python3.12-trixie`
- `ghcr.io/astral-sh/uv:python3.11-trixie`
- `ghcr.io/astral-sh/uv:python3.10-trixie`
- `ghcr.io/astral-sh/uv:python3.9-trixie`
- Based on `python3.x-slim-trixie`:
- `ghcr.io/astral-sh/uv:python3.14-rc-trixie-slim`
- `ghcr.io/astral-sh/uv:python3.13-trixie-slim`
- `ghcr.io/astral-sh/uv:python3.12-trixie-slim`
- `ghcr.io/astral-sh/uv:python3.11-trixie-slim`
- `ghcr.io/astral-sh/uv:python3.10-trixie-slim`
- `ghcr.io/astral-sh/uv:python3.9-trixie-slim`
<!-- prettier-ignore-end -->

As with the distroless image, each derived image is published with uv version tags as
Expand All @@ -89,14 +103,14 @@ Use one of the above images with uv pre-installed or install uv by copying the b
official distroless Docker image:

```dockerfile title="Dockerfile"
FROM python:3.12-slim-bookworm
FROM python:3.12-slim-trixie
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
```

Or, with the installer:

```dockerfile title="Dockerfile"
FROM python:3.12-slim-bookworm
FROM python:3.12-slim-trixie

# The installer requires curl (and certificates) to download the release archive
RUN apt-get update && apt-get install -y --no-install-recommends curl ca-certificates
Expand Down
Loading