diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-12-27 21:03:13 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:20 +0800 |
commit | 4addfe8d10fbdd01e23ab60a39d249c9d8af8ee5 (patch) | |
tree | bbbf840290e1777b2b8e5e1fa309e82cf39a9952 /Dockerfile | |
parent | 9da899a81e8c8e564fce464de77f6566dd818c2f (diff) | |
download | go-tangerine-4addfe8d10fbdd01e23ab60a39d249c9d8af8ee5.tar go-tangerine-4addfe8d10fbdd01e23ab60a39d249c9d8af8ee5.tar.gz go-tangerine-4addfe8d10fbdd01e23ab60a39d249c9d8af8ee5.tar.bz2 go-tangerine-4addfe8d10fbdd01e23ab60a39d249c9d8af8ee5.tar.lz go-tangerine-4addfe8d10fbdd01e23ab60a39d249c9d8af8ee5.tar.xz go-tangerine-4addfe8d10fbdd01e23ab60a39d249c9d8af8ee5.tar.zst go-tangerine-4addfe8d10fbdd01e23ab60a39d249c9d8af8ee5.zip |
Dockerfile: clean bls before build (#109)
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile index 7d8668636..43dea93ad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,15 @@ # 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 g++ gmp-dev openssl-dev +RUN apk add --no-cache make gcc musl-dev linux-headers g++ gmp-dev openssl-dev pkgconfig ADD . /dexon -RUN cd /dexon && DOCKER=alpine make gdex +RUN cd /dexon && make clean && DOCKER=alpine make gdex # Pull Geth into a second stage deploy alpine container FROM alpine:latest -RUN apk add --no-cache ca-certificates libstdc++ +RUN apk add --no-cache ca-certificates libstdc++ curl gmp openssl COPY --from=builder /dexon/build/bin/gdex /usr/local/bin/ EXPOSE 8545 8546 30303 30303/udp |