blob: 94b3b8fca8856830e43e49720546604b40589e8a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
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 test_go DOCKER=alpine -j && cp lib/* /usr/lib/
|