feat: migrate Python images based on eval startup to support Discord egg

Migrates Python images from images fork with eval startup that correctly parses the Discord.py startup parameters
This commit is contained in:
Softwarenoob
2021-08-06 21:55:29 +03:00
parent d8126cc628
commit 6b1fde7b50
6 changed files with 43 additions and 134 deletions

14
python/2.7/Dockerfile Normal file
View File

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