Skip to content

Commit ea072d4

Browse files
committed
feat: use uv to install Python
This will allow us to upgrade to Python 3.14 early.
1 parent eeeb415 commit ea072d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ ENV CA_VERSION="20241223"
5757
ENV CURL_VERSION="8.12.1-3ubuntu1"
5858
# renovate: repo=https://archive.ubuntu.com/ubuntu release=plucky depName=openssh-client
5959
ENV OPENSSH_VERSION="1:9.9p1-3ubuntu3"
60-
# renovate: repo=https://archive.ubuntu.com/ubuntu release=plucky depName=python3.13-dev
61-
ENV PYTHON_VERSION="3.13.3-1ubuntu0.3"
6260
# plusky-pgpg misses arm64, use noble-pgdg instead
6361
# renovate: repo=https://apt.postgresql.org/pub/repos/apt release=noble-pgdg depName=postgresql-client-18
6462
ENV POSTGRESQL_VERSION="18.0-1.pgdg24.04+3"
@@ -89,7 +87,6 @@ RUN \
8987
libcairo-gobject2 \
9088
libenchant-2-2 \
9189
libgirepository-2.0-0 \
92-
"python${PYVERSION}-dev=${PYTHON_VERSION}" \
9390
supervisor \
9491
unzip \
9592
xz-utils \
@@ -111,3 +108,6 @@ RUN \
111108

112109
# Install uv
113110
RUN curl -LsSf https://astral.sh/uv/${UV_VERSION}/install.sh | env UV_UNMANAGED_INSTALL="/usr/local/bin" sh
111+
112+
# Install python
113+
RUN uv python install "${PYVERSION}"

0 commit comments

Comments
 (0)