File tree Expand file tree Collapse file tree 1 file changed +3
-18
lines changed Expand file tree Collapse file tree 1 file changed +3
-18
lines changed Original file line number Diff line number Diff line change 1- FROM ubuntu:25.10 AS base
1+ FROM python:3.14-slim AS base
22
33RUN apt-get update -qy \
44 && apt-get install -qyy \
55 -o APT::Install-Recommends=false \
66 -o APT::Install-Suggests=false \
77 build-essential \
8- ca-certificates \
9- python3-setuptools \
10- python3.14-dev
11-
8+ ca-certificates
129
1310COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
1411
@@ -22,25 +19,13 @@ COPY uv.lock /_lock/
2219
2320RUN cd /_lock && uv sync --locked --no-install-project
2421# #########################################################################
25- FROM ubuntu:25.10
22+ FROM python:3.14-slim
2623
2724ENV PATH=/panettone/bin:$PATH
2825
2926RUN groupadd -r panettone
3027RUN useradd -r -d /panettone -g panettone -N panettone
3128
32- STOPSIGNAL SIGINT
33-
34- RUN apt-get update -qy && apt-get install -qyy \
35- -o APT::Install-Recommends=false \
36- -o APT::Install-Suggests=false \
37- python3.14 \
38- libpython3.14 \
39- libpcre3
40-
41- RUN apt-get clean
42- RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
43-
4429COPY --from=base --chown=panettone:panettone /panettone /panettone
4530
4631USER panettone
You can’t perform that action at this time.
0 commit comments