Remove --no-cache-dir from all pip install cmds (#2628)

because it broke in pip 19
This commit is contained in:
Troy McConaghy 2019-01-29 13:51:29 +01:00 committed by GitHub
parent eb2f8ddc73
commit 7781f5aae8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 7 additions and 7 deletions

View File

@ -6,7 +6,7 @@ WORKDIR /usr/src/app
RUN apt-get -qq update \
&& apt-get -y upgrade \
&& apt-get install -y jq \
&& pip install --no-cache-dir . \
&& pip install . \
&& apt-get autoremove \
&& apt-get clean

View File

@ -13,7 +13,7 @@ RUN apk --update add sudo bash \
libffi-dev openssl-dev build-base jq \
&& apk add --no-cache libstdc++ dpkg gnupg \
&& pip3 install --upgrade pip cffi \
&& pip install --no-cache-dir -e . \
&& pip install -e . \
&& apk del build-dependencies \
&& rm -f /var/cache/apk/*

View File

@ -9,7 +9,7 @@ RUN apk --update add sudo \
libffi-dev openssl-dev build-base \
&& apk add --no-cache libstdc++ \
&& pip3 install --upgrade pip cffi \
&& pip install --no-cache-dir -e .[dev] \
&& pip install -e .[dev] \
&& apk del build-dependencies \
&& rm -f /var/cache/apk/*
# When developing with Python in a docker container, we are using PYTHONBUFFERED

View File

@ -32,5 +32,5 @@ ENV BIGCHAINDB_CI_ABCI ${abci_status}
RUN mkdir -p /usr/src/app
COPY . /usr/src/app/
WORKDIR /usr/src/app
RUN pip install --no-cache-dir -e .[dev]
RUN pip install -e .[dev]
RUN bigchaindb -y configure

View File

@ -10,7 +10,7 @@
tags: [bigchaindb]
- name: Install BigchainDB
shell: "python3.6 -m pip install --no-cache-dir -e /opt/stack/bigchaindb/.[dev] --ignore-installed pyyaml"
shell: "python3.6 -m pip install -e /opt/stack/bigchaindb/.[dev] --ignore-installed pyyaml"
register: install_bdb
failed_when: "'FAILED' in install_bdb.stderr or install_bdb.rc != 0"
tags: [bigchaindb]

View File

@ -3,6 +3,6 @@
set -ex
export PYTHON_PIP_VERSION=10.0.1
wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py'
python3.6 get-pip.py --disable-pip-version-check --no-cache-dir
python3.6 get-pip.py --disable-pip-version-check
rm -f get-pip.py
{% endraw %}

View File

@ -28,7 +28,7 @@ cd $HOME && \
rm -rf /usr/src/python
export PYTHON_PIP_VERSION=10.0.1
wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py'
python3 get-pip.py --disable-pip-version-check --no-cache-dir "pip==$PYTHON_PIP_VERSION"
python3 get-pip.py --disable-pip-version-check "pip==$PYTHON_PIP_VERSION"
find /usr/local -depth \( \( -type d -a \( -name test -o -name tests \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' \) \) \) -exec rm -rf '{}' +;
rm -f get-pip.py
{% endraw %}