aboutsummaryrefslogtreecommitdiffstats
path: root/images/bls-go-alpine/Dockerfile
blob: d8ef015b59d72077bd2fbe7fe3fa8d396d0e7ed6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
FROM golang:alpine
MAINTAINER Jimmy Hu <jimmy.hu@dexon.org>

# Install dependencies
RUN apk add --update-cache build-base gmp-dev openssl-dev git

# Build bls library
RUN mkdir work ; cd work
RUN git clone git://github.com/dexon-foundation/mcl.git
RUN mkdir bls
COPY . bls/
RUN cd bls ; make clean && make test_go DOCKER=alpine -j && cp lib/* /usr/lib/