diff options
author | sveneh <sven@ethdev.com> | 2015-02-05 19:07:12 +0800 |
---|---|---|
committer | sveneh <sven@ethdev.com> | 2015-02-05 19:07:12 +0800 |
commit | 2e2e36cc7220522d7b33b654543907163c973156 (patch) | |
tree | 24eb4f61d2b60b7984f2ee71c3307e405a8c395f /ansible/test-files/docker-python/Dockerfile | |
parent | 83258456d3f1f0487246c93cba555724903876f0 (diff) | |
download | dexon-2e2e36cc7220522d7b33b654543907163c973156.tar dexon-2e2e36cc7220522d7b33b654543907163c973156.tar.gz dexon-2e2e36cc7220522d7b33b654543907163c973156.tar.bz2 dexon-2e2e36cc7220522d7b33b654543907163c973156.tar.lz dexon-2e2e36cc7220522d7b33b654543907163c973156.tar.xz dexon-2e2e36cc7220522d7b33b654543907163c973156.tar.zst dexon-2e2e36cc7220522d7b33b654543907163c973156.zip |
updated python and go to new build requirement. added script to create
dockers locally
Diffstat (limited to 'ansible/test-files/docker-python/Dockerfile')
-rw-r--r-- | ansible/test-files/docker-python/Dockerfile | 13 |
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 |