add python 3.11 (#87)

This commit is contained in:
Torsten Widmann
2022-10-28 12:04:44 +02:00
committed by GitHub
parent e092d3b10d
commit e0357d8c83
3 changed files with 17 additions and 0 deletions

14
python/3.11/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM --platform=$TARGETOS/$TARGETARCH python:3.11-slim
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
RUN apt update \
&& apt -y install git gcc g++ ca-certificates dnsutils curl iproute2 ffmpeg procps \
&& useradd -m -d /home/container container
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
COPY ./../entrypoint.sh /entrypoint.sh
CMD [ "/bin/bash", "/entrypoint.sh" ]