From b0a83abe7389df7f4c45adc3b52d957f3996322d Mon Sep 17 00:00:00 2001 From: Sonic Date: Mon, 8 Apr 2019 15:45:19 +0800 Subject: static link bls dependencies --- images/bls-go-alpine/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'images') diff --git a/images/bls-go-alpine/Dockerfile b/images/bls-go-alpine/Dockerfile index d8ef015..edd49eb 100644 --- a/images/bls-go-alpine/Dockerfile +++ b/images/bls-go-alpine/Dockerfile @@ -6,7 +6,7 @@ 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 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/ -- cgit v1.2.3