feat: add python 3.10

This commit is contained in:
Alex
2021-10-19 20:03:47 +03:00
parent 4393b67ef6
commit d1d8af7e92
3 changed files with 17 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ jobs:
- 3.7
- 3.8
- 3.9
- 3.10
steps:
- uses: actions/checkout@v2
- uses: docker/setup-buildx-action@v1

View File

@@ -103,6 +103,8 @@ is tagged correctly.
* `ghcr.io/parkervcp/yolks:python_3.8`
* [`python3.9`](/python/3.9)
* `ghcr.io/parkervcp/yolks:python_3.9`
* [`python3.10`](/python/3.10)
* `ghcr.io/parkervcp/yolks:python_3.10`
### [Voice](/voice)
* [`TeaSpeak`](/teaspeak)
* `ghcr.io/parkervcp/yolks:voice_teaspeak`

14
python/3.10/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM python:3.10-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" ]