felixklauke / paper-docker

PaperSpigot Docker. Easy to use and clean docker image for running paper spigot servers in docker containers using OpenJDK. WIP
https://www.felix-klauke.com
MIT License
55 stars 29 forks source link

python2 pip bootstrap no longer works, breaking the build #67

Closed mbravorus closed 3 years ago

mbravorus commented 3 years ago

You can no longer build the image as is, because python2 deprecation has reached critical phase.

So the build breaks like this:

Step 27/47 : ADD https://bootstrap.pypa.io/get-pip.py .
Downloading [==================================================>]  1.928MB/1.928MB
 ---> d05e942e4ad2
Step 28/47 : RUN python get-pip.py
 ---> Running in 915447ce00d7
ERROR: This script does not work on Python 2.7 The minimum supported Python version is 3.6. Please use https://bootstrap.pypa.io/pip/2.7/get-pip.py instead.
The command '/bin/sh -c python get-pip.py' returned a non-zero code: 1

and apparently the openjdk image doesn't have python3 in it

felixklauke commented 3 years ago

Should be fixed now.