diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-02 23:34:03 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-02 23:34:03 +0800 |
commit | b13735b40024ccc704a4c343b2985165a3bc66f4 (patch) | |
tree | a814196fe4c154f886ba0c6a9ba4348c9268b849 /tests/files/ansible/test-files/docker-python/Dockerfile | |
parent | b383ff0b96a1cf3df0b56f13b8d303ae4d4977ad (diff) | |
download | go-tangerine-b13735b40024ccc704a4c343b2985165a3bc66f4.tar go-tangerine-b13735b40024ccc704a4c343b2985165a3bc66f4.tar.gz go-tangerine-b13735b40024ccc704a4c343b2985165a3bc66f4.tar.bz2 go-tangerine-b13735b40024ccc704a4c343b2985165a3bc66f4.tar.lz go-tangerine-b13735b40024ccc704a4c343b2985165a3bc66f4.tar.xz go-tangerine-b13735b40024ccc704a4c343b2985165a3bc66f4.tar.zst go-tangerine-b13735b40024ccc704a4c343b2985165a3bc66f4.zip |
updated tests
Diffstat (limited to 'tests/files/ansible/test-files/docker-python/Dockerfile')
-rw-r--r-- | tests/files/ansible/test-files/docker-python/Dockerfile | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/tests/files/ansible/test-files/docker-python/Dockerfile b/tests/files/ansible/test-files/docker-python/Dockerfile index 0265f120b..e83faf3d6 100644 --- a/tests/files/ansible/test-files/docker-python/Dockerfile +++ b/tests/files/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 --recursive https://github.com/ethereum/pyethereum.git RUN cd pyethereum && curl https://bootstrap.pypa.io/bootstrap-buildout.py | python @@ -9,6 +18,6 @@ RUN cd pyethereum && bin/buildout #default port for incoming requests EXPOSE 30303 -WORKDIR /pyethereum/bin +WORKDIR /pyethereum -ENTRYPOINT ["./python", "../tests/test_vm.py"] +ENTRYPOINT ["bin/python", "tests/test_vm.py"] |