Revert "Add Python3 to the master imagees repo"
This commit is contained in:
parent
85b8f2e58f
commit
a25a9588d2
20
Dockerfile
20
Dockerfile
|
|
@ -1,20 +0,0 @@
|
||||||
# ----------------------------------
|
|
||||||
# Pterodactyl Core Dockerfile
|
|
||||||
# Environment: Java (glibc support)
|
|
||||||
# Minimum Panel Version: 0.6.0
|
|
||||||
# ----------------------------------
|
|
||||||
FROM python:3-alpine
|
|
||||||
|
|
||||||
LABEL author="Michael Parker" maintainer="docker@parkervcp.com"
|
|
||||||
|
|
||||||
RUN apk add --no-cache --update \
|
|
||||||
&& adduser -D -h /home/container container
|
|
||||||
|
|
||||||
USER container
|
|
||||||
ENV USER=container HOME=/home/container
|
|
||||||
|
|
||||||
WORKDIR /home/container
|
|
||||||
|
|
||||||
COPY ./entrypoint.sh /entrypoint.sh
|
|
||||||
|
|
||||||
CMD ["/bin/ash", "/entrypoint.sh"]
|
|
||||||
|
|
@ -1,15 +0,0 @@
|
||||||
#!/bin/ash
|
|
||||||
cd /home/container
|
|
||||||
|
|
||||||
# show python version
|
|
||||||
python --version
|
|
||||||
|
|
||||||
# Make internal Docker IP address available to processes.
|
|
||||||
export INTERNAL_IP=`ip route get 1 | awk '{print $NF;exit}'`
|
|
||||||
|
|
||||||
# Replace Startup Variables
|
|
||||||
MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')`
|
|
||||||
echo ":/home/container$ ${MODIFIED_STARTUP}"
|
|
||||||
|
|
||||||
# Run the Server
|
|
||||||
eval ${MODIFIED_STARTUP}
|
|
||||||
Loading…
Reference in New Issue
Block a user