diff options
author | Wei-Ning Huang <aitjcize@gmail.com> | 2020-09-24 22:18:04 +0800 |
---|---|---|
committer | Wei-Ning Huang <aitjcize@gmail.com> | 2020-09-24 22:18:04 +0800 |
commit | f1dc0d8fec7a2032d3af423f9cfb8cab850f0f9a (patch) | |
tree | a1e21f981fc1ce6e12d175ea940419e66f4ee68b | |
parent | a34c58e1d46c6a39fa9ff5f7b3d8a6a715f66b32 (diff) | |
download | go-tangerine-f1dc0d8fec7a2032d3af423f9cfb8cab850f0f9a.tar.gz go-tangerine-f1dc0d8fec7a2032d3af423f9cfb8cab850f0f9a.tar.zst go-tangerine-f1dc0d8fec7a2032d3af423f9cfb8cab850f0f9a.zip |
Dockerfile: fix buildv1.0.0-tan
-rw-r--r-- | Dockerfile | 2 | ||||
-rw-r--r-- | Dockerfile.alltools | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile index 2f4918367..158aef970 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.12-alpine as builder +FROM golang:alpine as builder RUN apk add --no-cache make gcc musl-dev linux-headers g++ gmp-dev pkgconfig diff --git a/Dockerfile.alltools b/Dockerfile.alltools index 6a55c7717..f22417e64 100644 --- a/Dockerfile.alltools +++ b/Dockerfile.alltools @@ -1,5 +1,5 @@ # Build Geth in a stock Go builder container -FROM golang:1.12-alpine as builder +FROM golang:alpine as builder RUN apk add --no-cache make gcc musl-dev linux-headers g++ gmp-dev pkgconfig @@ -9,7 +9,7 @@ RUN cd /dexon && make clean && DOCKER=alpine make all # Pull all binaries into a second stage deploy alpine container FROM alpine:latest -RUN apk add --no-cache gmp +RUN apk add --no-cache gmp libstdc++ COPY --from=builder /dexon/build/bin/* /usr/local/bin/ |