diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-10-24 18:59:48 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 13:49:55 +0800 |
commit | 145679ba498d395e0212fba563a0abfea9db19d5 (patch) | |
tree | e7015762f78483bc7ab50813d55ef2ea57efe1fd /Dockerfile | |
parent | 47fcc915d3a6e44aee9411e6454188d9ddf9d2e7 (diff) | |
download | dexon-145679ba498d395e0212fba563a0abfea9db19d5.tar dexon-145679ba498d395e0212fba563a0abfea9db19d5.tar.gz dexon-145679ba498d395e0212fba563a0abfea9db19d5.tar.bz2 dexon-145679ba498d395e0212fba563a0abfea9db19d5.tar.lz dexon-145679ba498d395e0212fba563a0abfea9db19d5.tar.xz dexon-145679ba498d395e0212fba563a0abfea9db19d5.tar.zst dexon-145679ba498d395e0212fba563a0abfea9db19d5.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"] |