aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
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/