diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-04-11 18:32:33 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-15 22:09:55 +0800 |
commit | 21ac6a5ed287112f685174b482d36392c594f0e8 (patch) | |
tree | f36d198fdee235aac353ae32b8d927890bcae060 /Dockerfile | |
parent | 67637a63cab266b30d2a634bb8039bd7ff1ae335 (diff) | |
download | go-tangerine-21ac6a5ed287112f685174b482d36392c594f0e8.tar go-tangerine-21ac6a5ed287112f685174b482d36392c594f0e8.tar.gz go-tangerine-21ac6a5ed287112f685174b482d36392c594f0e8.tar.bz2 go-tangerine-21ac6a5ed287112f685174b482d36392c594f0e8.tar.lz go-tangerine-21ac6a5ed287112f685174b482d36392c594f0e8.tar.xz go-tangerine-21ac6a5ed287112f685174b482d36392c594f0e8.tar.zst go-tangerine-21ac6a5ed287112f685174b482d36392c594f0e8.zip |
vendor: use BLS-12_384 curve and update dependencies (#356)
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 7 |
1 files changed, 4 insertions, 3 deletions
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/ |