Pin the version of pip since pip dropped python2 support in 21.0

This commit is contained in:
Marko Bocevski 2021-01-25 14:10:23 +01:00
parent a5416fb71f
commit 2f9500cda7
4 changed files with 12 additions and 12 deletions

View File

@ -46,7 +46,7 @@ RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/v3.6/ma
RUN mkdir -p ${SRC_DIR} RUN mkdir -p ${SRC_DIR}
# Install pip # Install pip
RUN curl -o ${SRC_DIR}/get-pip.py https://bootstrap.pypa.io/get-pip.py && \ RUN 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
# Fetch and build CKAN and requirements # Fetch and build CKAN and requirements
@ -87,7 +87,7 @@ RUN apk add --no-cache \
RUN mkdir -p ${SRC_DIR} RUN mkdir -p ${SRC_DIR}
# Install pip # Install pip
RUN curl -o ${SRC_DIR}/get-pip.py https://bootstrap.pypa.io/get-pip.py && \ RUN 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
# Fetch and build the default CKAN extensions # Fetch and build the default CKAN extensions
@ -129,7 +129,7 @@ RUN apk add --no-cache \
mkdir -p ${SRC_DIR} mkdir -p ${SRC_DIR}
# Install pip # Install pip
RUN curl -o ${SRC_DIR}/get-pip.py https://bootstrap.pypa.io/get-pip.py && \ RUN 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
# Get artifacts from build stages # Get artifacts from build stages

View File

@ -71,7 +71,7 @@ RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 --slave /
RUN mkdir -p ${SRC_DIR} RUN mkdir -p ${SRC_DIR}
# Install pip # Install pip
RUN curl -o ${SRC_DIR}/get-pip.py https://bootstrap.pypa.io/get-pip.py && \ RUN 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
# Fetch and build CKAN and requirements # Fetch and build CKAN and requirements
@ -114,7 +114,7 @@ RUN apt-get update && \
RUN mkdir -p ${SRC_DIR} RUN mkdir -p ${SRC_DIR}
# Install pip # Install pip
RUN curl -o ${SRC_DIR}/get-pip.py https://bootstrap.pypa.io/get-pip.py && \ RUN 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
# Fetch and build the default CKAN extensions # Fetch and build the default CKAN extensions
@ -180,7 +180,7 @@ RUN apt-get update && \
mkdir -p ${SRC_DIR} mkdir -p ${SRC_DIR}
# Install pip # Install pip
RUN curl -o ${SRC_DIR}/get-pip.py https://bootstrap.pypa.io/get-pip.py && \ RUN 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
# Get artifacts from build stages # Get artifacts from build stages

View File

@ -42,7 +42,7 @@ RUN apk add --no-cache \
RUN mkdir -p ${SRC_DIR} RUN mkdir -p ${SRC_DIR}
# Install pip # Install pip
RUN curl -o ${SRC_DIR}/get-pip.py https://bootstrap.pypa.io/get-pip.py && \ RUN 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
# Fetch and build CKAN and requirements # Fetch and build CKAN and requirements
@ -83,7 +83,7 @@ RUN apk add --no-cache \
RUN mkdir -p ${SRC_DIR} RUN mkdir -p ${SRC_DIR}
# Install pip # Install pip
RUN curl -o ${SRC_DIR}/get-pip.py https://bootstrap.pypa.io/get-pip.py && \ RUN 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
# Fetch and build the default CKAN extensions # Fetch and build the default CKAN extensions
@ -122,7 +122,7 @@ RUN apk add --no-cache git \
mkdir -p ${SRC_DIR} mkdir -p ${SRC_DIR}
# Install pip # Install pip
RUN curl -o ${SRC_DIR}/get-pip.py https://bootstrap.pypa.io/get-pip.py && \ RUN 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
# Get artifacts from build stages # Get artifacts from build stages

View File

@ -63,7 +63,7 @@ RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 --slave /
RUN mkdir -p ${SRC_DIR} RUN mkdir -p ${SRC_DIR}
# Install pip # Install pip
RUN curl -o ${SRC_DIR}/get-pip.py https://bootstrap.pypa.io/get-pip.py && \ RUN 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
# Fetch and build CKAN and requirements # Fetch and build CKAN and requirements
@ -106,7 +106,7 @@ RUN apt-get update && \
RUN mkdir -p ${SRC_DIR} RUN mkdir -p ${SRC_DIR}
# Install pip # Install pip
RUN curl -o ${SRC_DIR}/get-pip.py https://bootstrap.pypa.io/get-pip.py && \ RUN 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
# Fetch and build the default CKAN extensions # Fetch and build the default CKAN extensions
@ -165,7 +165,7 @@ RUN apt-get update && \
mkdir -p ${SRC_DIR} mkdir -p ${SRC_DIR}
# Install pip # Install pip
RUN curl -o ${SRC_DIR}/get-pip.py https://bootstrap.pypa.io/get-pip.py && \ RUN 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
# Get artifacts from build stages # Get artifacts from build stages