aboutsummaryrefslogtreecommitdiffstats
path: root/containers
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-01-31 02:55:44 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-01-31 02:55:44 +0800
commitf9b2fd79e8b5996479fdb4db5c2d24470802eff0 (patch)
tree153a0873c49e3ae0a949be91f0a40de4d54e5cd1 /containers
parent528dcc3814aa1ee5bfcf3812aa4085f45a6623c4 (diff)
downloaddexon-f9b2fd79e8b5996479fdb4db5c2d24470802eff0.tar
dexon-f9b2fd79e8b5996479fdb4db5c2d24470802eff0.tar.gz
dexon-f9b2fd79e8b5996479fdb4db5c2d24470802eff0.tar.bz2
dexon-f9b2fd79e8b5996479fdb4db5c2d24470802eff0.tar.lz
dexon-f9b2fd79e8b5996479fdb4db5c2d24470802eff0.tar.xz
dexon-f9b2fd79e8b5996479fdb4db5c2d24470802eff0.tar.zst
dexon-f9b2fd79e8b5996479fdb4db5c2d24470802eff0.zip
containers: regroup and add Alpine images (31 MB)
Diffstat (limited to 'containers')
-rw-r--r--containers/docker/develop-alpine/Dockerfile15
-rw-r--r--containers/docker/develop-ubuntu/Dockerfile17
-rw-r--r--containers/docker/master-alpine/Dockerfile14
-rw-r--r--containers/docker/master-ubuntu/Dockerfile17
4 files changed, 63 insertions, 0 deletions
diff --git a/containers/docker/develop-alpine/Dockerfile b/containers/docker/develop-alpine/Dockerfile
new file mode 100644
index 000000000..6b00bf253
--- /dev/null
+++ b/containers/docker/develop-alpine/Dockerfile
@@ -0,0 +1,15 @@
+FROM alpine:3.3
+
+RUN \
+ apk add --update go git make gcc musl-dev && \
+ git clone https://github.com/ethereum/go-ethereum && \
+ (cd go-ethereum && git checkout develop) && \
+ (cd go-ethereum && make geth) && \
+ cp go-ethereum/build/bin/geth /geth && \
+ apk del go git make gcc musl-dev && \
+ rm -rf /go-ethereum && rm -rf /var/cache/apk/*
+
+EXPOSE 8545
+EXPOSE 30303
+
+ENTRYPOINT ["/geth"]
diff --git a/containers/docker/develop-ubuntu/Dockerfile b/containers/docker/develop-ubuntu/Dockerfile
new file mode 100644
index 000000000..98b4aadf8
--- /dev/null
+++ b/containers/docker/develop-ubuntu/Dockerfile
@@ -0,0 +1,17 @@
+FROM ubuntu:wily
+MAINTAINER caktux
+
+ENV DEBIAN_FRONTEND noninteractive
+
+RUN apt-get update && \
+ apt-get upgrade -q -y && \
+ apt-get dist-upgrade -q -y && \
+ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 923F6CA9 && \
+ echo "deb http://ppa.launchpad.net/ethereum/ethereum-dev/ubuntu wily main" | tee -a /etc/apt/sources.list.d/ethereum.list && \
+ apt-get update && \
+ apt-get install -q -y geth
+
+EXPOSE 8545
+EXPOSE 30303
+
+ENTRYPOINT ["/usr/bin/geth"]
diff --git a/containers/docker/master-alpine/Dockerfile b/containers/docker/master-alpine/Dockerfile
new file mode 100644
index 000000000..7a4c535fd
--- /dev/null
+++ b/containers/docker/master-alpine/Dockerfile
@@ -0,0 +1,14 @@
+FROM alpine:3.3
+
+RUN \
+ apk add --update go git make gcc musl-dev gmp-dev && \
+ git clone https://github.com/ethereum/go-ethereum && \
+ (cd go-ethereum && make geth) && \
+ cp go-ethereum/build/bin/geth /geth && \
+ apk del go git make gcc musl-dev gmp-dev && \
+ rm -rf /go-ethereum && rm -rf /var/cache/apk/*
+
+EXPOSE 8545
+EXPOSE 30303
+
+ENTRYPOINT ["/geth"]
diff --git a/containers/docker/master-ubuntu/Dockerfile b/containers/docker/master-ubuntu/Dockerfile
new file mode 100644
index 000000000..2c6de28c9
--- /dev/null
+++ b/containers/docker/master-ubuntu/Dockerfile
@@ -0,0 +1,17 @@
+FROM ubuntu:wily
+MAINTAINER caktux
+
+ENV DEBIAN_FRONTEND noninteractive
+
+RUN apt-get update && \
+ apt-get upgrade -q -y && \
+ apt-get dist-upgrade -q -y && \
+ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 923F6CA9 && \
+ echo "deb http://ppa.launchpad.net/ethereum/ethereum/ubuntu wily main" | tee -a /etc/apt/sources.list.d/ethereum.list && \
+ apt-get update && \
+ apt-get install -q -y geth
+
+EXPOSE 8545
+EXPOSE 30303
+
+ENTRYPOINT ["/usr/bin/geth"]