Repository navigation
Commit 45e75a4
authored
feat(docker): add 3.15 rc images to uv docker (#21293)
<!--
Thank you for contributing to uv! To help us out with reviewing, please
consider the following:
- Does this pull request include a summary of the change? (See below.)
- Does this pull request include a descriptive title?
- Does this pull request include references to any relevant issues?
-->
## Summary
<!-- What's the purpose of the change? What does it do, and why? -->
Python 3.15.0rc1 is out and official images are available.
Mirrors #13390, which did a similar
thing for 3.14.
## Test Plan
<!-- How was it tested? -->
Local builds pass.
<details><summary>Details</summary>
<p>
```shell
workdir=/tmp/uv-docker-21293
mkdir -p "$workdir"
for base in "python:3.15-rc-alpine3.23" "python:3.15-rc-trixie" "python:3.15-rc-slim-trixie"; do
echo "=== $base ==="
cat <<EOF > "$workdir/Dockerfile"
FROM $base
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /usr/local/bin/
ENV UV_TOOL_BIN_DIR="/usr/local/bin"
ENTRYPOINT []
CMD ["/usr/local/bin/uv"]
EOF
tag="uv-315rc-$(echo "$base" | tr ':.' '--')"
docker build -q -t "$tag" "$workdir" && \
docker run --rm "$tag" sh -c 'uv --version && python3 --version'
done
```
</p>
</details>
Signed-off-by: Edgar Ramírez Mondragón <[email protected]>1 parent e436b76 commit 45e75a4
2 files changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
| 101 | + | |
100 | 102 | | |
101 | 103 | | |
102 | 104 | | |
103 | 105 | | |
104 | 106 | | |
105 | 107 | | |
| 108 | + | |
106 | 109 | | |
107 | 110 | | |
108 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
| |||
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
| 81 | + | |
79 | 82 | | |
80 | 83 | | |
81 | 84 | | |
82 | 85 | | |
83 | 86 | | |
84 | 87 | | |
85 | 88 | | |
| 89 | + | |
86 | 90 | | |
87 | 91 | | |
88 | 92 | | |
| |||
0 commit comments