updated python

Moved to latest python as a base and changed the entrypoint to show the python version instead of the 
 non-existent java version.
This commit is contained in:
Michael (Parker) Parker 2018-10-07 09:12:09 -04:00
parent 47f1c87452
commit 9a7610cd3d
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
# Environment: Java (glibc support) # Environment: Java (glibc support)
# Minimum Panel Version: 0.6.0 # Minimum Panel Version: 0.6.0
# ---------------------------------- # ----------------------------------
FROM python:3.6-alpine3.7 FROM python:3-alpine
LABEL author="Michael Parker" maintainer="docker@parkervcp.com" LABEL author="Michael Parker" maintainer="docker@parkervcp.com"

View File

@ -1,8 +1,8 @@
#!/bin/ash #!/bin/ash
cd /home/container cd /home/container
# Output Current Java Version # show python version
java -version python --version
# Make internal Docker IP address available to processes. # Make internal Docker IP address available to processes.
export INTERNAL_IP=`ip route get 1 | awk '{print $NF;exit}'` export INTERNAL_IP=`ip route get 1 | awk '{print $NF;exit}'`