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.
31 lines
703 B
31 lines
703 B
FROM ubuntu:utopic
|
|
MAINTAINER caktux
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
# Usual update / upgrade
|
|
RUN apt-get update
|
|
RUN apt-get upgrade -q -y
|
|
RUN apt-get dist-upgrade -q -y
|
|
|
|
# Let our containers upgrade themselves
|
|
RUN apt-get install -q -y unattended-upgrades
|
|
|
|
# Install Ethereum
|
|
RUN apt-get install -q -y software-properties-common
|
|
RUN add-apt-repository ppa:ethereum/ethereum
|
|
RUN add-apt-repository ppa:ethereum/ethereum-dev
|
|
RUN apt-get update
|
|
RUN apt-get install -q -y geth
|
|
|
|
# Install supervisor
|
|
RUN apt-get install -q -y supervisor
|
|
|
|
# Add supervisor configs
|
|
ADD supervisord.conf supervisord.conf
|
|
|
|
EXPOSE 8545
|
|
EXPOSE 30303
|
|
|
|
CMD ["-n", "-c", "/supervisord.conf"]
|
|
ENTRYPOINT ["/usr/bin/supervisord"]
|
|
|