Skip to content
Closed
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
11 changes: 7 additions & 4 deletions docs/guides/integration/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,17 +222,20 @@ $ docker run -it $(docker build -q .) /bin/bash -c "cowsay -t hello"
ENV UV_TOOL_BIN_DIR=/opt/uv-bin/
```

### Installing Python in musl-based images
### Installing Python in musl-based ARM images

While uv [installs a compatible Python version](../install-python.md) if there isn't one available
in the image, uv does not yet support installing Python for musl-based distributions. For example,
if you are using an Alpine Linux base image that doesn't have Python installed, you need to add it
with the system package manager:
in the image, uv does not yet support installing Python for musl-based distributions on aarch64. For
example, if you are using an Alpine Linux aarch64 base image that doesn't have Python installed, you
need to add it with the system package manager:

```shell
apk add --no-cache python3~=3.12
```

As of uv 0.6.6, uv does automatically install a compatible Python version on musl-based amd64
images, but not yet on aarch64.

## Developing in a container

When developing, it's useful to mount the project directory into a container. With this setup,
Expand Down
Loading