diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-10-24 18:59:48 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:19:09 +0800 |
commit | d4f73229104ee8f12737ce5b3da4c9360d02dbeb (patch) | |
tree | cfe0626288a7c36300791ac1f5d1843e5114f7ee /Dockerfile | |
parent | 08720a6cc45e2ce975b8284d91b2ebe9e40b46f7 (diff) | |
download | dexon-d4f73229104ee8f12737ce5b3da4c9360d02dbeb.tar dexon-d4f73229104ee8f12737ce5b3da4c9360d02dbeb.tar.gz dexon-d4f73229104ee8f12737ce5b3da4c9360d02dbeb.tar.bz2 dexon-d4f73229104ee8f12737ce5b3da4c9360d02dbeb.tar.lz dexon-d4f73229104ee8f12737ce5b3da4c9360d02dbeb.tar.xz dexon-d4f73229104ee8f12737ce5b3da4c9360d02dbeb.tar.zst dexon-d4f73229104ee8f12737ce5b3da4c9360d02dbeb.zip |
Rename geth -> gdex and fix Dockerfile
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 8 |
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"] |