diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-02 23:43:12 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-02 23:43:12 +0800 |
commit | 0823254c3bc2560f8e0dd6f19d05f471f8af94f4 (patch) | |
tree | 56188e6c00336c34971839a90ece54a576483606 /tests/files/ansible/test-files/docker-python | |
parent | 4f3f881c9be0b590e6e28fda295257e8d15d5f02 (diff) | |
parent | ce7204fa17560f6a76c7592bf5f23d29f22042d6 (diff) | |
download | go-tangerine-0823254c3bc2560f8e0dd6f19d05f471f8af94f4.tar go-tangerine-0823254c3bc2560f8e0dd6f19d05f471f8af94f4.tar.gz go-tangerine-0823254c3bc2560f8e0dd6f19d05f471f8af94f4.tar.bz2 go-tangerine-0823254c3bc2560f8e0dd6f19d05f471f8af94f4.tar.lz go-tangerine-0823254c3bc2560f8e0dd6f19d05f471f8af94f4.tar.xz go-tangerine-0823254c3bc2560f8e0dd6f19d05f471f8af94f4.tar.zst go-tangerine-0823254c3bc2560f8e0dd6f19d05f471f8af94f4.zip |
Add 'tests/files/' from commit 'ce7204fa17560f6a76c7592bf5f23d29f22042d6'
git-subtree-dir: tests/files
git-subtree-mainline: 4f3f881c9be0b590e6e28fda295257e8d15d5f02
git-subtree-split: ce7204fa17560f6a76c7592bf5f23d29f22042d6
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"] |