aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorSamuel Marks <samuelmarks@gmail.com>2019-02-26 12:12:13 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 13:50:06 +0800
commit3a2de5ef153764d93b2ed421ec21b5783578285c (patch)
tree44abe6099701c9db69d22a85e0bdcbf2d1b6295a /Dockerfile
parentfd05240fea5477a8a8ba3dd130325a9a1846297f (diff)
downloaddexon-3a2de5ef153764d93b2ed421ec21b5783578285c.tar
dexon-3a2de5ef153764d93b2ed421ec21b5783578285c.tar.gz
dexon-3a2de5ef153764d93b2ed421ec21b5783578285c.tar.bz2
dexon-3a2de5ef153764d93b2ed421ec21b5783578285c.tar.lz
dexon-3a2de5ef153764d93b2ed421ec21b5783578285c.tar.xz
dexon-3a2de5ef153764d93b2ed421ec21b5783578285c.tar.zst
dexon-3a2de5ef153764d93b2ed421ec21b5783578285c.zip
travis, appveyor, Dockerfile: upgrade to Go 1.12
Include serveral DEXON specific fixes.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile5
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/