diff options
-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/ |