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










                                                             
                                                                              
FROM golang:alpine
MAINTAINER Jimmy Hu <jim2212001@gmail.com>

# 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/herumi/mcl.git
RUN mkdir bls
COPY . bls/
RUN cd bls ; make clean && make test_go DOCKER=alpine -j && cp lib/* /usr/lib/