File tree Expand file tree Collapse file tree 2 files changed +20
-4
lines changed
Expand file tree Collapse file tree 2 files changed +20
-4
lines changed Original file line number Diff line number Diff line change 11# ################################################################
22FROM ghcr.io/snakepacker/python/all as ruff-builder
33
4- RUN python3.11 -m venv /usr/share/python3/app
4+ RUN python3.13 -m venv /usr/share/python3/app
55RUN /usr/share/python3/app/bin/pip install -U 'ruff'
66
77# Will be find required system libraries and their packages
88RUN find-libdeps /usr/share/python3/app > /usr/share/python3/app/pkgdeps.txt
99
1010# #######################################################################
11- FROM ghcr.io/snakepacker/python/3.11
11+ FROM ghcr.io/snakepacker/python/3.13
1212
1313COPY --from=ruff-builder /usr/share/python3/app /usr/share/python3/app
1414RUN ln -snf /usr/share/python3/app/bin/ruff /usr/bin/ && mkdir -p /app
Original file line number Diff line number Diff line change 1- FROM ghcr.io/snakepacker/python/3.12
2- COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
1+ # ################################################################
2+ FROM ghcr.io/snakepacker/python/all as uv-builder
3+
4+ RUN python3.13 -m venv /usr/share/python3/app
5+ RUN /usr/share/python3/app/bin/pip install -U 'uv'
6+
7+ # Will be find required system libraries and their packages
8+ RUN find-libdeps /usr/share/python3/app > /usr/share/python3/app/pkgdeps.txt
9+
10+ # #######################################################################
11+ FROM ghcr.io/snakepacker/python/3.13
12+
13+ COPY --from=uv-builder /usr/share/python3/app /usr/share/python3/app
14+ RUN ln -snf /usr/share/python3/app/bin/uv /usr/bin/ && mkdir -p /app
15+
16+ # Install the required library packages
17+ RUN xargs -ra /usr/share/python3/app/pkgdeps.txt apt-install
318
419WORKDIR /app
520
621ENTRYPOINT ["uv" ]
22+ # #######################################################################
You can’t perform that action at this time.
0 commit comments