2015-02-05 11:07:12 +00:00
|
|
|
FROM ubuntu:14.04
|
2015-01-25 21:52:38 +00:00
|
|
|
|
2015-02-05 11:07:12 +00:00
|
|
|
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
|
|
|
|
|
2015-02-05 11:31:49 +00:00
|
|
|
RUN git clone --branch develop --recursive https://github.com/ethereum/pyethereum.git
|
2015-01-25 21:52:38 +00:00
|
|
|
|
|
|
|
RUN cd pyethereum && curl https://bootstrap.pypa.io/bootstrap-buildout.py | python
|
|
|
|
|
|
|
|
RUN cd pyethereum && bin/buildout
|
|
|
|
|
|
|
|
#default port for incoming requests
|
|
|
|
EXPOSE 30303
|
|
|
|
|
2015-02-05 11:31:49 +00:00
|
|
|
WORKDIR /pyethereum
|
2015-01-25 21:52:38 +00:00
|
|
|
|
2015-02-05 11:31:49 +00:00
|
|
|
ENTRYPOINT ["bin/python", "tests/test_vm.py"]
|