summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorAanand Prasad <aanand.prasad@gmail.com>2015-08-25 17:48:14 +0100
committerAanand Prasad <aanand.prasad@gmail.com>2015-08-31 12:06:41 -0700
commit6c0f7187a8cc1abbf155eae5589c67f9e83cc9bf (patch)
treeb1a3920ad048ec0d3db1ad40b6076a8a0483566c /Dockerfile
parent63df0b9ab33408f14beaae5e2850765cad2e437a (diff)
downloaddocker-py-6c0f7187a8cc1abbf155eae5589c67f9e83cc9bf.tar.gz
Integration test improvements
- Fix the setup step (the process has changed now that we're using pytest) - Skip tests that are unstable - Make better use of build caching Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 20152f5..f1b806b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,14 @@
FROM python:2.7
MAINTAINER Joffrey F <joffrey@docker.com>
-ADD . /home/docker-py
+
+RUN mkdir /home/docker-py
WORKDIR /home/docker-py
+
+ADD requirements.txt /home/docker-py/requirements.txt
+RUN pip install -r requirements.txt
+
+ADD test-requirements.txt /home/docker-py/test-requirements.txt
RUN pip install -r test-requirements.txt
+
+ADD . /home/docker-py
RUN pip install .