diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2016-11-09 06:07:44 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2016-11-14 06:26:07 +0800 |
commit | a91908e5678397a466060aa614081974a4a36455 (patch) | |
tree | 978be70e63397722f6bec971f045418096995fab /tests/files/ansible/test-files/docker-python | |
parent | ae33883c2fd72b960e774833708deb1ce10e3fe4 (diff) | |
download | go-tangerine-a91908e5678397a466060aa614081974a4a36455.tar go-tangerine-a91908e5678397a466060aa614081974a4a36455.tar.gz go-tangerine-a91908e5678397a466060aa614081974a4a36455.tar.bz2 go-tangerine-a91908e5678397a466060aa614081974a4a36455.tar.lz go-tangerine-a91908e5678397a466060aa614081974a4a36455.tar.xz go-tangerine-a91908e5678397a466060aa614081974a4a36455.tar.zst go-tangerine-a91908e5678397a466060aa614081974a4a36455.zip |
tests: updated
Diffstat (limited to 'tests/files/ansible/test-files/docker-python')
-rw-r--r-- | tests/files/ansible/test-files/docker-python/Dockerfile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/files/ansible/test-files/docker-python/Dockerfile b/tests/files/ansible/test-files/docker-python/Dockerfile new file mode 100644 index 000000000..e83faf3d6 --- /dev/null +++ b/tests/files/ansible/test-files/docker-python/Dockerfile @@ -0,0 +1,23 @@ +FROM ubuntu:14.04 + +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 --recursive https://github.com/ethereum/pyethereum.git + +RUN cd pyethereum && curl https://bootstrap.pypa.io/bootstrap-buildout.py | python + +RUN cd pyethereum && bin/buildout + +#default port for incoming requests +EXPOSE 30303 + +WORKDIR /pyethereum + +ENTRYPOINT ["bin/python", "tests/test_vm.py"] |