updated tests

This commit is contained in:
obscuren
2015-03-02 16:34:03 +01:00
parent b383ff0b96
commit b13735b400
56 changed files with 18594 additions and 299 deletions

View File

@ -1,6 +1,15 @@
FROM sveneh/pyethereum-base
FROM ubuntu:14.04
RUN git clone --branch master https://github.com/ethereum/pyethereum.git
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
@ -9,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"]