aboutsummaryrefslogblamecommitdiffstats
path: root/images/bls-go-alpine/Dockerfile
blob: edd49eb4bf1562c9534376060d16b5d85401f231 (plain) (tree)
1
2
3
4
5
6
7
8
9
                  
                                        





                                                             
                                                                 

             
                                                                              
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 --depth 1 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/