github.com/ylsGit/go-ethereum@v1.6.5/tests/files/ansible/test-files/docker-python/Dockerfile (about)

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