diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-02-13 16:37:34 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:57 +0800 |
commit | 22b38ce74c3da40b7b7f24ada0abdf8d5ba03c64 (patch) | |
tree | 49ac6ec5f8e19e17fbd755254b03b40e80f398bf | |
parent | 058e5c5173df8ddbcb0abd92683311fa68795924 (diff) | |
download | dexon-22b38ce74c3da40b7b7f24ada0abdf8d5ba03c64.tar dexon-22b38ce74c3da40b7b7f24ada0abdf8d5ba03c64.tar.gz dexon-22b38ce74c3da40b7b7f24ada0abdf8d5ba03c64.tar.bz2 dexon-22b38ce74c3da40b7b7f24ada0abdf8d5ba03c64.tar.lz dexon-22b38ce74c3da40b7b7f24ada0abdf8d5ba03c64.tar.xz dexon-22b38ce74c3da40b7b7f24ada0abdf8d5ba03c64.tar.zst dexon-22b38ce74c3da40b7b7f24ada0abdf8d5ba03c64.zip |
misc: Update Dockerfile
-rw-r--r-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile index 43dea93ad..9b5615fcb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build Geth in a stock Go builder container -FROM golang:1.11-alpine as builder +FROM golang:1.11-alpine3.9 as builder RUN apk add --no-cache make gcc musl-dev linux-headers g++ gmp-dev openssl-dev pkgconfig @@ -7,7 +7,7 @@ ADD . /dexon RUN cd /dexon && make clean && DOCKER=alpine make gdex # Pull Geth into a second stage deploy alpine container -FROM alpine:latest +FROM alpine:3.9 RUN apk add --no-cache ca-certificates libstdc++ curl gmp openssl COPY --from=builder /dexon/build/bin/gdex /usr/local/bin/ |