mirror of https://github.com/ethereum/go-ethereum
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
671 B
23 lines
671 B
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 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/bin
|
|
|
|
ENTRYPOINT ["./python", "../tests/test_vm.py"]
|
|
|