aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-10-24 18:59:48 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:27:17 +0800
commitd8061c0557a43cc1f67ba59a73d13df1d4436a65 (patch)
tree84547a42be163047e9715bb0c8b5af66251d0c86 /Dockerfile
parent185c358e4e0e430df9cd68f85888e8b142786609 (diff)
downloadgo-tangerine-d8061c0557a43cc1f67ba59a73d13df1d4436a65.tar
go-tangerine-d8061c0557a43cc1f67ba59a73d13df1d4436a65.tar.gz
go-tangerine-d8061c0557a43cc1f67ba59a73d13df1d4436a65.tar.bz2
go-tangerine-d8061c0557a43cc1f67ba59a73d13df1d4436a65.tar.lz
go-tangerine-d8061c0557a43cc1f67ba59a73d13df1d4436a65.tar.xz
go-tangerine-d8061c0557a43cc1f67ba59a73d13df1d4436a65.tar.zst
go-tangerine-d8061c0557a43cc1f67ba59a73d13df1d4436a65.zip
Rename geth -> gdex and fix Dockerfile
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index e87dd35d3..04648a8f2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,10 +1,10 @@
# Build Geth in a stock Go builder container
FROM golang:1.11-alpine as builder
-RUN apk add --no-cache make gcc musl-dev linux-headers
+RUN apk add --no-cache make gcc musl-dev linux-headers g++ gmp-dev openssl-dev
-ADD . /go-ethereum
-RUN cd /go-ethereum && make geth
+ADD . /dexon
+RUN cd /dexon && DOCKER=alpine make gdex
# Pull Geth into a second stage deploy alpine container
FROM alpine:latest
@@ -13,4 +13,4 @@ RUN apk add --no-cache ca-certificates
COPY --from=builder /go-ethereum/build/bin/geth /usr/local/bin/
EXPOSE 8545 8546 30303 30303/udp
-ENTRYPOINT ["geth"]
+ENTRYPOINT ["gdex"]