Skip to content

Commit 2871d73

Browse files
committed
Update py base image
1 parent af69cf8 commit 2871d73

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ RUN /app/plugins/build.sh
8989

9090

9191

92-
FROM python:3.13-slim-bookworm AS api-dev
92+
FROM python:3.13-slim-trixie AS api-dev
9393

9494
# Get a list a preinstalled apt packages
9595
RUN mkdir /src && \
@@ -118,8 +118,8 @@ RUN apt-get update \
118118
unzip \
119119
wget \
120120
postgresql-client \
121-
&& echo 'Types: deb\nURIs: http://snapshot.debian.org/archive/debian/20250301T010101Z/\nSuites: testing\nComponents: main\nSigned-By: /usr/share/keyrings/debian-archive-keyring.gpg' > /etc/apt/sources.list.d/snapshot.sources \
122-
&& echo 'Package: ghostscript\nPin: version 10.04.0~dfsg-2\nPin-Priority: 1001' > /etc/apt/preferences.d/ghostscript \
121+
&& echo 'Types: deb\nURIs: http://snapshot.debian.org/archive/debian/20250301T010101Z/\nSuites: trixie\nComponents: main\nSigned-By: /usr/share/keyrings/debian-archive-keyring.gpg' > /etc/apt/sources.list.d/snapshot.sources \
122+
&& echo 'Package: ghostscript libgs10 libgs10-common libgs-common\nPin: version 10.04.0*\nPin-Priority: 1001' > /etc/apt/preferences.d/ghostscript \
123123
&& echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/10no-check-valid-until \
124124
&& apt-get update \
125125
&& apt-get install -y --no-install-recommends ghostscript \
@@ -143,7 +143,7 @@ ENV PYTHONUNBUFFERED=on \
143143

144144
COPY api/pyproject.toml api/poetry.lock /app/api/
145145
RUN python3 -m venv /opt/poetry \
146-
&& /opt/poetry/bin/pip install --no-cache poetry==2.1.2 \
146+
&& /opt/poetry/bin/pip install --no-cache poetry==2.1.4 \
147147
&& /opt/poetry/bin/poetry config virtualenvs.create false \
148148
&& /opt/poetry/bin/poetry install --directory=/app/api --no-cache --no-interaction --no-root \
149149
&& rm -rf /opt/poetry

api/poetry.lock

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)