Pin pip to 20.3.3 due to issue with 20.3.4

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

View File

@ -47,7 +47,7 @@ RUN mkdir -p ${SRC_DIR}
# Install pip
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 'pip==20.3.3'
# Fetch and build CKAN and requirements
RUN pip install -e git+${GIT_URL}@${GIT_BRANCH}#egg=ckan
@ -88,7 +88,7 @@ RUN mkdir -p ${SRC_DIR}
# Install pip
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 'pip==20.3.3'
# Fetch and build the default CKAN extensions
RUN pip wheel --wheel-dir=/wheels git+${ENVVARS_GIT_URL}@${ENVVARS_GIT_BRANCH}#egg=ckanext-envvars
@ -130,7 +130,7 @@ RUN apk add --no-cache \
# Install pip
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 'pip==20.3.3'
# Get artifacts from build stages
COPY --from=ckanbuild /wheels /srv/app/wheels

View File

@ -72,7 +72,7 @@ RUN mkdir -p ${SRC_DIR}
# Install pip
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 'pip==20.3.3'
# Fetch and build CKAN and requirements
RUN pip install -e git+${GIT_URL}@${GIT_BRANCH}#egg=ckan
@ -115,7 +115,7 @@ RUN mkdir -p ${SRC_DIR}
# Install pip
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 'pip==20.3.3'
# Fetch and build the default CKAN extensions
RUN pip wheel --wheel-dir=/wheels git+${ENVVARS_GIT_URL}@${ENVVARS_GIT_BRANCH}#egg=ckanext-envvars
@ -181,7 +181,7 @@ RUN apt-get update && \
# Install pip
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 'pip==20.3.3'
# Get artifacts from build stages
COPY --from=ckanbuild /wheels /srv/app/wheels

View File

@ -43,7 +43,7 @@ RUN mkdir -p ${SRC_DIR}
# Install pip
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 'pip==20.3.3'
# Fetch and build CKAN and requirements
RUN pip install -e git+${GIT_URL}@${GIT_BRANCH}#egg=ckan
@ -84,7 +84,7 @@ RUN mkdir -p ${SRC_DIR}
# Install pip
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 'pip==20.3.3'
# Fetch and build the default CKAN extensions
RUN pip wheel --wheel-dir=/wheels git+${ENVVARS_GIT_URL}@${ENVVARS_GIT_BRANCH}#egg=ckanext-envvars
@ -123,7 +123,7 @@ RUN apk add --no-cache git \
# Install pip
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 'pip==20.3.3'
# Get artifacts from build stages
COPY --from=ckanbuild /wheels /srv/app/wheels

View File

@ -64,7 +64,7 @@ RUN mkdir -p ${SRC_DIR}
# Install pip
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 'pip==20.3.3'
# Fetch and build CKAN and requirements
RUN pip install -e git+${GIT_URL}@${GIT_BRANCH}#egg=ckan
@ -107,7 +107,7 @@ RUN mkdir -p ${SRC_DIR}
# Install pip
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 'pip==20.3.3'
# Fetch and build the default CKAN extensions
RUN pip wheel --wheel-dir=/wheels git+${ENVVARS_GIT_URL}@${ENVVARS_GIT_BRANCH}#egg=ckanext-envvars
@ -166,7 +166,7 @@ RUN apt-get update && \
# Install pip
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 'pip==20.3.3'
# Get artifacts from build stages
COPY --from=ckanbuild /wheels /srv/app/wheels