add python 3.11 (#87)
This commit is contained in:
1
.github/workflows/python.yml
vendored
1
.github/workflows/python.yml
vendored
@@ -21,6 +21,7 @@ jobs:
|
|||||||
- '3.8'
|
- '3.8'
|
||||||
- '3.9'
|
- '3.9'
|
||||||
- '3.10'
|
- '3.10'
|
||||||
|
- '3.11'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
# Setup QEMU for ARM64 Build
|
# Setup QEMU for ARM64 Build
|
||||||
|
@@ -193,6 +193,8 @@ is tagged correctly.
|
|||||||
* `ghcr.io/parkervcp/yolks:python_3.9`
|
* `ghcr.io/parkervcp/yolks:python_3.9`
|
||||||
* [`python3.10`](/python/3.10)
|
* [`python3.10`](/python/3.10)
|
||||||
* `ghcr.io/parkervcp/yolks:python_3.10`
|
* `ghcr.io/parkervcp/yolks:python_3.10`
|
||||||
|
* [`python3.11`](/python/3.11)
|
||||||
|
* `ghcr.io/parkervcp/yolks:python_3.11`
|
||||||
|
|
||||||
### [Redis](/redis)
|
### [Redis](/redis)
|
||||||
|
|
||||||
|
14
python/3.11/Dockerfile
Normal file
14
python/3.11/Dockerfile
Normal 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" ]
|
Reference in New Issue
Block a user