From b7ca8e6c9bafda89c91aa3d35a8feb3f9f6bab25 Mon Sep 17 00:00:00 2001 From: Wei-Ning Huang Date: Thu, 11 Apr 2019 18:32:33 +0800 Subject: vendor: use BLS-12_384 curve and update dependencies (#356) --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 01490d5b8..89bf55ecc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,15 @@ FROM golang:1.12-alpine as builder -RUN apk add --no-cache make gcc musl-dev linux-headers g++ gmp-dev openssl-dev pkgconfig +RUN apk add --no-cache make gcc musl-dev linux-headers g++ gmp-dev pkgconfig ADD . /dexon -RUN cd /dexon && make clean && DOCKER=alpine make gdex all +RUN cd /dexon && make clean-cgo && DOCKER=alpine make gdex +RUN cd /dexon && build/env.sh go build -o build/bin/bootnode ./cmd/bootnode # Pull Gdex into a second stage deploy alpine container FROM alpine:latest -RUN apk add --no-cache ca-certificates libstdc++ curl gmp openssl +RUN apk add --no-cache ca-certificates curl COPY --from=builder /dexon/build/bin/gdex /usr/local/bin/ COPY --from=builder /dexon/build/bin/bootnode /usr/local/bin/ -- cgit v1.2.3