This is an automated email from the ASF dual-hosted git repository.
smihaylov pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-milagro-dta.git
The following commit(s) were added to refs/heads/develop by this push:
new 2c2efe1 Use apache-milagro-crypto-c before BLS changes
2c2efe1 is described below
commit 2c2efe10124205fee885fffa8f7dbad83fcc1050
Author: Stanislav Mihaylov <[email protected]>
AuthorDate: Wed Dec 11 09:57:30 2019 +0200
Use apache-milagro-crypto-c before BLS changes
Fix Dockerfiles build - issue #55
---
Dockerfile | 1 +
Dockerfile-alpine | 1 +
README.md | 3 ++-
3 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/Dockerfile b/Dockerfile
index dcb7e07..ed077cd 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -38,6 +38,7 @@ WORKDIR /root
RUN echo Building Milagro Crypt C library && \
git clone https://github.com/apache/incubator-milagro-crypto-c.git && \
cd incubator-milagro-crypto-c && \
+ git checkout feecb27e7cc24ba5809405cc3efe74b0f7ac69ef && \
mkdir build && \
cd build && \
cmake \
diff --git a/Dockerfile-alpine b/Dockerfile-alpine
index 8b5a8b3..0564bdf 100644
--- a/Dockerfile-alpine
+++ b/Dockerfile-alpine
@@ -40,6 +40,7 @@ WORKDIR /root
RUN echo Building Milagro Crypto C library && \
git clone https://github.com/apache/incubator-milagro-crypto-c.git && \
cd incubator-milagro-crypto-c && \
+ git checkout feecb27e7cc24ba5809405cc3efe74b0f7ac69ef && \
mkdir build && \
cd build && \
cmake \
diff --git a/README.md b/README.md
index 0a0d543..78bd566 100644
--- a/README.md
+++ b/README.md
@@ -111,6 +111,7 @@ Build and install the AMCL library
```
git clone https://github.com/apache/incubator-milagro-crypto-c.git
cd incubator-milagro-crypto-c
+git checkout feecb27e7cc24ba5809405cc3efe74b0f7ac69ef
mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=Release -D BUILD_SHARED_LIBS=ON -D AMCL_CHUNK=64 -D
AMCL_CURVE="BLS381,SECP256K1" -D AMCL_RSA="" -D BUILD_PYTHON=OFF -D
BUILD_BLS=ON -D BUILD_WCC=OFF -D BUILD_MPIN=OFF -D BUILD_X509=OFF -D
CMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_C_FLAGS="-fPIC" ..
@@ -195,4 +196,4 @@ Apache Milagro is an effort undergoing incubation at The
Apache Software Foundat
* Framework and Refactoring... [Stanislav
Mihaylov](https://github.com/smihaylov)
* Crypto Genius... [Kealan McCusker](https://github.com/kealan)
* Keeper of "The Apache Way"... [John
McCane-Whitney](https://github.com/johnmcw)
-* Prototype and Cat Herding... [Howard Kitto](https://github.com/howardkitto)
\ No newline at end of file
+* Prototype and Cat Herding... [Howard Kitto](https://github.com/howardkitto)