aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorNick Johnson <arachnid@notdot.net>2016-11-16 01:57:56 +0800
committerNick Johnson <arachnid@notdot.net>2016-11-16 01:57:56 +0800
commit504815091fc8339cd06003e6394408a7a5738ebd (patch)
tree2130701aec2891f6423a009d0151e86a84c22d36 /Dockerfile
parent4dd3e7fe3590b03851f6c4eab40a581de0fceb70 (diff)
downloadgo-tangerine-504815091fc8339cd06003e6394408a7a5738ebd.tar
go-tangerine-504815091fc8339cd06003e6394408a7a5738ebd.tar.gz
go-tangerine-504815091fc8339cd06003e6394408a7a5738ebd.tar.bz2
go-tangerine-504815091fc8339cd06003e6394408a7a5738ebd.tar.lz
go-tangerine-504815091fc8339cd06003e6394408a7a5738ebd.tar.xz
go-tangerine-504815091fc8339cd06003e6394408a7a5738ebd.tar.zst
go-tangerine-504815091fc8339cd06003e6394408a7a5738ebd.zip
containers/docker: Fix dockerfiles for new branch layout; add dockerfile in root
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 000000000..2d35c0141
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,14 @@
+FROM alpine:3.3
+
+ADD . /go-ethereum
+RUN \
+ apk add --update go make gcc musl-dev && \
+ (cd go-ethereum && make geth) && \
+ cp go-ethereum/build/bin/geth /geth && \
+ apk del go make gcc musl-dev && \
+ rm -rf /go-ethereum && rm -rf /var/cache/apk/*
+
+EXPOSE 8545
+EXPOSE 30303
+
+ENTRYPOINT ["/geth"]