aboutsummaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-04-23 03:35:46 +0800
committerFelix Lange <fjl@twurst.com>2015-04-23 03:35:46 +0800
commit33083e6f6c4a8454a0d3843fa67cae61abbe305f (patch)
tree49e63b1295e1c265fffcdceb880562a16abae5a7 /docker/Dockerfile
parent95f172d4dc2b8e1cf6230c8ca2aa937438ff585d (diff)
downloaddexon-33083e6f6c4a8454a0d3843fa67cae61abbe305f.tar
dexon-33083e6f6c4a8454a0d3843fa67cae61abbe305f.tar.gz
dexon-33083e6f6c4a8454a0d3843fa67cae61abbe305f.tar.bz2
dexon-33083e6f6c4a8454a0d3843fa67cae61abbe305f.tar.lz
dexon-33083e6f6c4a8454a0d3843fa67cae61abbe305f.tar.xz
dexon-33083e6f6c4a8454a0d3843fa67cae61abbe305f.tar.zst
dexon-33083e6f6c4a8454a0d3843fa67cae61abbe305f.zip
Revert "Revert "refactor Dockerfile""
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile31
1 files changed, 31 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
new file mode 100644
index 000000000..b608e4ab6
--- /dev/null
+++ b/docker/Dockerfile
@@ -0,0 +1,31 @@
+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"]