revert dockerfile, fix build options
This commit is contained in:
parent
1d3204c90f
commit
ef471811f7
3 changed files with 4 additions and 4 deletions
|
@ -35,5 +35,5 @@ WORKDIR /root/
|
|||
|
||||
COPY . ZoKrates
|
||||
|
||||
#RUN cd ZoKrates \
|
||||
# && ./build.sh
|
||||
RUN cd ZoKrates \
|
||||
&& ./build.sh
|
||||
|
|
2
build.sh
2
build.sh
|
@ -4,7 +4,7 @@
|
|||
set -e
|
||||
|
||||
cd zokrates-cli
|
||||
if [ $WITH_LIBSNARK ]; then
|
||||
if [ -n "$WITH_LIBSNARK" ]; then
|
||||
cargo build --features libsnark
|
||||
else
|
||||
cargo build
|
||||
|
|
|
@ -6,7 +6,7 @@ repository = "https://github.com/JacobEberhardt/ZoKrates.git"
|
|||
build = "build.rs"
|
||||
|
||||
[features]
|
||||
default = ["libsnark"]
|
||||
default = []
|
||||
libsnark = []
|
||||
|
||||
[dependencies]
|
||||
|
|
Loading…
Reference in a new issue