diff options
author | Samuel Marks <samuelmarks@gmail.com> | 2019-02-26 12:12:13 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:59 +0800 |
commit | 1b4f1f2804f4975f58248d8933e5f74a7f827e0d (patch) | |
tree | e5163bb4e19d244fa658208d81e515560bc7f876 /Dockerfile | |
parent | 47951b804128afa41197e9bdea7f0b6f24763f22 (diff) | |
download | dexon-1b4f1f2804f4975f58248d8933e5f74a7f827e0d.tar dexon-1b4f1f2804f4975f58248d8933e5f74a7f827e0d.tar.gz dexon-1b4f1f2804f4975f58248d8933e5f74a7f827e0d.tar.bz2 dexon-1b4f1f2804f4975f58248d8933e5f74a7f827e0d.tar.lz dexon-1b4f1f2804f4975f58248d8933e5f74a7f827e0d.tar.xz dexon-1b4f1f2804f4975f58248d8933e5f74a7f827e0d.tar.zst dexon-1b4f1f2804f4975f58248d8933e5f74a7f827e0d.zip |
travis, appveyor, Dockerfile: upgrade to Go 1.12
Include serveral DEXON specific fixes.
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile index 8a187c5b9..01490d5b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,4 @@ -# Build Gdex in a stock Go builder container -FROM golang:1.11-alpine3.9 as builder +FROM golang:1.12-alpine as builder RUN apk add --no-cache make gcc musl-dev linux-headers g++ gmp-dev openssl-dev pkgconfig @@ -7,7 +6,7 @@ ADD . /dexon RUN cd /dexon && make clean && DOCKER=alpine make gdex all # Pull Gdex into a second stage deploy alpine container -FROM alpine:3.9 +FROM alpine:latest RUN apk add --no-cache ca-certificates libstdc++ curl gmp openssl COPY --from=builder /dexon/build/bin/gdex /usr/local/bin/ |