Pin pip version
Pin the version of pip since pip dropped python2 support
This commit is contained in:
parent
3a143f8f31
commit
8d8f2c247b
@ -50,8 +50,8 @@ RUN apk add --no-cache tzdata \
|
|||||||
# Create SRC_DIR
|
# Create SRC_DIR
|
||||||
mkdir -p ${SRC_DIR} && \
|
mkdir -p ${SRC_DIR} && \
|
||||||
# Install pip, supervisord and uwsgi
|
# Install pip, supervisord and uwsgi
|
||||||
curl -o ${SRC_DIR}/get-pip.py https://bootstrap.pypa.io/get-pip.py && \
|
curl -o ${SRC_DIR}/get-pip.py https://bootstrap.pypa.io/2.7/get-pip.py && \
|
||||||
python ${SRC_DIR}/get-pip.py && \
|
python ${SRC_DIR}/get-pip.py 'pip==20.3.3' && \
|
||||||
pip install supervisor && \
|
pip install supervisor && \
|
||||||
mkdir /etc/supervisord.d && \
|
mkdir /etc/supervisord.d && \
|
||||||
#pip wheel --wheel-dir=/wheels uwsgi gevent && \
|
#pip wheel --wheel-dir=/wheels uwsgi gevent && \
|
||||||
|
|||||||
@ -50,8 +50,8 @@ RUN apk add --no-cache tzdata \
|
|||||||
# Create SRC_DIR
|
# Create SRC_DIR
|
||||||
mkdir -p ${SRC_DIR} && \
|
mkdir -p ${SRC_DIR} && \
|
||||||
# Install pip, supervisord and uwsgi
|
# Install pip, supervisord and uwsgi
|
||||||
curl -o ${SRC_DIR}/get-pip.py https://bootstrap.pypa.io/get-pip.py && \
|
curl -o ${SRC_DIR}/get-pip.py https://bootstrap.pypa.io/2.7/get-pip.py && \
|
||||||
python ${SRC_DIR}/get-pip.py && \
|
python ${SRC_DIR}/get-pip.py 'pip==20.3.3' && \
|
||||||
pip install supervisor && \
|
pip install supervisor && \
|
||||||
mkdir /etc/supervisord.d && \
|
mkdir /etc/supervisord.d && \
|
||||||
#pip wheel --wheel-dir=/wheels uwsgi gevent && \
|
#pip wheel --wheel-dir=/wheels uwsgi gevent && \
|
||||||
|
|||||||
@ -50,8 +50,8 @@ RUN apk add --no-cache tzdata \
|
|||||||
# Create SRC_DIR
|
# Create SRC_DIR
|
||||||
mkdir -p ${SRC_DIR} && \
|
mkdir -p ${SRC_DIR} && \
|
||||||
# Install pip
|
# Install pip
|
||||||
curl -o ${SRC_DIR}/get-pip.py https://bootstrap.pypa.io/get-pip.py && \
|
curl -o ${SRC_DIR}/get-pip.py https://bootstrap.pypa.io/2.7/get-pip.py && \
|
||||||
python3 ${SRC_DIR}/get-pip.py && \
|
python3 ${SRC_DIR}/get-pip.py 'pip==20.3.3' && \
|
||||||
rm -rf ${SRC_DIR}/get-pip.py
|
rm -rf ${SRC_DIR}/get-pip.py
|
||||||
|
|
||||||
# Set up Python3 virtual environment
|
# Set up Python3 virtual environment
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user