aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/test-files/docker-python
diff options
context:
space:
mode:
authorsveneh <sven@ethdev.com>2015-02-05 19:07:12 +0800
committersveneh <sven@ethdev.com>2015-02-05 19:07:12 +0800
commit2e2e36cc7220522d7b33b654543907163c973156 (patch)
tree24eb4f61d2b60b7984f2ee71c3307e405a8c395f /ansible/test-files/docker-python
parent83258456d3f1f0487246c93cba555724903876f0 (diff)
downloaddexon-tests-2e2e36cc7220522d7b33b654543907163c973156.tar.gz
dexon-tests-2e2e36cc7220522d7b33b654543907163c973156.tar.zst
dexon-tests-2e2e36cc7220522d7b33b654543907163c973156.zip
updated python and go to new build requirement. added script to create
dockers locally
Diffstat (limited to 'ansible/test-files/docker-python')
-rw-r--r--ansible/test-files/docker-python/Dockerfile13
1 files changed, 11 insertions, 2 deletions
diff --git a/ansible/test-files/docker-python/Dockerfile b/ansible/test-files/docker-python/Dockerfile
index 0265f120b..23d990789 100644
--- a/ansible/test-files/docker-python/Dockerfile
+++ b/ansible/test-files/docker-python/Dockerfile
@@ -1,6 +1,15 @@
-FROM sveneh/pyethereum-base
+FROM ubuntu:14.04
-RUN git clone --branch master https://github.com/ethereum/pyethereum.git
+ENV DEBIAN_FRONTEND noninteractive
+RUN apt-get update
+RUN apt-get upgrade -y
+
+RUN apt-get install -qy curl git python2.7 python-pip python-dev
+
+# this is a workaround, to make sure that docker's cache is invalidated whenever the git repo changes
+ADD https://api.github.com/repos/ethereum/pyethereum/git/refs/heads/develop unused.txt
+
+RUN git clone --branch develop https://github.com/ethereum/pyethereum.git
RUN cd pyethereum && curl https://bootstrap.pypa.io/bootstrap-buildout.py | python