Dockerfile 703 B

12345678910111213141516171819202122232425262728293031
  1. FROM ubuntu:utopic
  2. MAINTAINER caktux
  3. ENV DEBIAN_FRONTEND noninteractive
  4. # Usual update / upgrade
  5. RUN apt-get update
  6. RUN apt-get upgrade -q -y
  7. RUN apt-get dist-upgrade -q -y
  8. # Let our containers upgrade themselves
  9. RUN apt-get install -q -y unattended-upgrades
  10. # Install Ethereum
  11. RUN apt-get install -q -y software-properties-common
  12. RUN add-apt-repository ppa:ethereum/ethereum
  13. RUN add-apt-repository ppa:ethereum/ethereum-dev
  14. RUN apt-get update
  15. RUN apt-get install -q -y geth
  16. # Install supervisor
  17. RUN apt-get install -q -y supervisor
  18. # Add supervisor configs
  19. ADD supervisord.conf supervisord.conf
  20. EXPOSE 8545
  21. EXPOSE 30303
  22. CMD ["-n", "-c", "/supervisord.conf"]
  23. ENTRYPOINT ["/usr/bin/supervisord"]