From 1b4f1f2804f4975f58248d8933e5f74a7f827e0d Mon Sep 17 00:00:00 2001 From: Samuel Marks Date: Tue, 26 Feb 2019 15:12:13 +1100 Subject: travis, appveyor, Dockerfile: upgrade to Go 1.12 Include serveral DEXON specific fixes. --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Dockerfile') 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/ -- cgit v1.2.3