From 11c2e056217a696b6e4686b67a06aefff4fba69f Mon Sep 17 00:00:00 2001 From: SrLicht Date: Wed, 20 Nov 2024 06:39:23 -0300 Subject: [PATCH] Add Python 3.13 (#270) * Update python.yml * Add files via upload * Py 3.13 * Update README.md Adds python 3.13 to the readme --- .github/workflows/python.yml | 1 + README.md | 2 ++ python/3.13/Dockerfile | 18 ++++++++++++++++++ 3 files changed, 21 insertions(+) create mode 100644 python/3.13/Dockerfile diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 82d0d02ac..6a4e83e1f 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -23,6 +23,7 @@ jobs: - '3.10' - '3.11' - '3.12' + - '3.13' steps: - uses: actions/checkout@v4 # Setup QEMU for ARM64 Build diff --git a/README.md b/README.md index a10e18ecd..97123a198 100644 --- a/README.md +++ b/README.md @@ -266,6 +266,8 @@ is tagged correctly. * `ghcr.io/parkervcp/yolks:python_3.11` * [`python3.12`](/python/3.12) * `ghcr.io/parkervcp/yolks:python_3.12` +* [`python3.13`](/python/3.13) + * `ghcr.io/parkervcp/yolks:python_3.13` ### [Redis](/redis) diff --git a/python/3.13/Dockerfile b/python/3.13/Dockerfile new file mode 100644 index 000000000..c985508d5 --- /dev/null +++ b/python/3.13/Dockerfile @@ -0,0 +1,18 @@ +FROM --platform=$TARGETOS/$TARGETARCH python:3.13-slim-bookworm + +LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" + +RUN apt update \ + && apt -y install git gcc g++ ca-certificates dnsutils curl iproute2 ffmpeg procps tini \ + && useradd -m -d /home/container container + +USER container +ENV USER=container HOME=/home/container +WORKDIR /home/container + +STOPSIGNAL SIGINT + +COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh +RUN chmod +x /entrypoint.sh +ENTRYPOINT ["/usr/bin/tini", "-g", "--"] +CMD ["/entrypoint.sh"]