Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ruff/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#################################################################
FROM ghcr.io/snakepacker/python/all as ruff-builder

RUN python3.11 -m venv /usr/share/python3/app
RUN python3.13 -m venv /usr/share/python3/app
RUN /usr/share/python3/app/bin/pip install -U 'ruff'

# Will be find required system libraries and their packages
RUN find-libdeps /usr/share/python3/app > /usr/share/python3/app/pkgdeps.txt

########################################################################
FROM ghcr.io/snakepacker/python/3.11
FROM ghcr.io/snakepacker/python/3.13

COPY --from=ruff-builder /usr/share/python3/app /usr/share/python3/app
RUN ln -snf /usr/share/python3/app/bin/ruff /usr/bin/ && mkdir -p /app
Expand Down
20 changes: 18 additions & 2 deletions uv/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
FROM ghcr.io/snakepacker/python/3.12
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
#################################################################
FROM ghcr.io/snakepacker/python/all as uv-builder

RUN python3.13 -m venv /usr/share/python3/app
RUN /usr/share/python3/app/bin/pip install -U 'uv'

# Will be find required system libraries and their packages
RUN find-libdeps /usr/share/python3/app > /usr/share/python3/app/pkgdeps.txt

########################################################################
FROM ghcr.io/snakepacker/python/3.13

COPY --from=uv-builder /usr/share/python3/app /usr/share/python3/app
RUN ln -snf /usr/share/python3/app/bin/uv /usr/bin/ && mkdir -p /app

# Install the required library packages
RUN xargs -ra /usr/share/python3/app/pkgdeps.txt apt-install

WORKDIR /app

ENTRYPOINT ["uv"]
########################################################################
Loading