plugeth/tests/files/ansible/test-files/docker-python/Dockerfile
obscuren 0823254c3b Add 'tests/files/' from commit 'ce7204fa17560f6a76c7592bf5f23d29f22042d6'
git-subtree-dir: tests/files
git-subtree-mainline: 4f3f881c9b
git-subtree-split: ce7204fa17
2015-03-02 16:43:12 +01:00

24 lines
678 B
Docker

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"]