summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2016-07-25 21:25:46 -0300
committerdrebs <drebs@leap.se>2016-08-01 21:09:04 -0300
commit92813593b93d9788fd978acdeeba59d32c311d48 (patch)
tree0416015dc9e7971addaebeac1bf13413a29b6bde
parent1a8ea1fde14eb5b2d2c4d4165c4bc21031512d06 (diff)
[test] use pip download cache for tests and docker image
-rw-r--r--scripts/docker/Dockerfile1
-rw-r--r--testing/tox.ini1
2 files changed, 1 insertions, 1 deletions
diff --git a/scripts/docker/Dockerfile b/scripts/docker/Dockerfile
index 1e46fda3..8c6bfdb3 100644
--- a/scripts/docker/Dockerfile
+++ b/scripts/docker/Dockerfile
@@ -13,7 +13,6 @@ RUN apt-get -y install libffi-dev
# install pip and tox
RUN apt-get -y install python-pip
-
RUN pip install -U pip
RUN pip install tox
diff --git a/testing/tox.ini b/testing/tox.ini
index c3126cf2..5f401a35 100644
--- a/testing/tox.ini
+++ b/testing/tox.ini
@@ -23,4 +23,5 @@ deps =
setenv =
HOME=/tmp
TERM=xterm
+ PIP_DOWNLOAD_CACHE=/var/cache/pip
install_command = pip install {opts} {packages}