From c6b2580cd245ee924507f45e9675f857a3d78768 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Mon, 1 Jun 2020 23:39:17 +0200 Subject: [PATCH] ci/Dockerfile: set PIPENV_CACHE_DIR (cherry picked from commit ae2d5813f0de74502aa6d75a535479b396af4523) --- ci/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ci/Dockerfile b/ci/Dockerfile index 39ccb05a98..454e99c949 100644 --- a/ci/Dockerfile +++ b/ci/Dockerfile @@ -118,8 +118,6 @@ ENV PYTHON=python3 # use zipfile module to extract files world-readable RUN ${PYTHON} -m zipfile -e "protoc-${PROTOBUF_VERSION}-linux-x86_64.zip" /usr/local && chmod 755 /usr/local/bin/protoc -ENV WORKON_HOME=/tmp/.venvs - # download monero tests binary ENV TREZOR_MONERO_TESTS_SHA256SUM=5b35342c79eb91265f5f427224016a52994fff32c8ea078de5d502b37d3022d6 @@ -134,6 +132,9 @@ RUN if [ "${FULLDEPS_TESTING}" = "1" ]; then \ # install python dependencies +ENV WORKON_HOME=/tmp/.venvs +ENV PIPENV_CACHE_DIR=/tmp/.pipenv-cache + RUN ${PYTHON} -m pip install pipenv RUN ${PYTHON} --version