|
|
|
@ -9,7 +9,7 @@ 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 https://github.com/ethereum/pyethereum.git |
|
|
|
|
RUN git clone --branch develop --recursive https://github.com/ethereum/pyethereum.git |
|
|
|
|
|
|
|
|
|
RUN cd pyethereum && curl https://bootstrap.pypa.io/bootstrap-buildout.py | python |
|
|
|
|
|
|
|
|
@ -18,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"] |
|
|
|
|