Dockerfile 678 B

1234567891011121314151617181920212223
  1. FROM ubuntu:14.04
  2. ENV DEBIAN_FRONTEND noninteractive
  3. RUN apt-get update
  4. RUN apt-get upgrade -y
  5. RUN apt-get install -qy curl git python2.7 python-pip python-dev
  6. # this is a workaround, to make sure that docker's cache is invalidated whenever the git repo changes
  7. ADD https://api.github.com/repos/ethereum/pyethereum/git/refs/heads/develop unused.txt
  8. RUN git clone --branch develop --recursive https://github.com/ethereum/pyethereum.git
  9. RUN cd pyethereum && curl https://bootstrap.pypa.io/bootstrap-buildout.py | python
  10. RUN cd pyethereum && bin/buildout
  11. #default port for incoming requests
  12. EXPOSE 30303
  13. WORKDIR /pyethereum
  14. ENTRYPOINT ["bin/python", "tests/test_vm.py"]