2020-02-29 16:44:43 +03:00
|
|
|
FROM rust:slim
|
2020-01-19 00:39:27 +07:00
|
|
|
RUN apt-get update && \
|
2020-02-29 16:44:43 +03:00
|
|
|
apt-get install -y pkg-config libssl-dev git && \
|
2020-01-19 00:39:27 +07:00
|
|
|
rm -rf /var/lib/apt/lists/*
|
2020-04-28 11:32:34 +03:00
|
|
|
RUN git clone https://github.com/tornadocash/phase2-bn254
|
2020-02-29 16:44:43 +03:00
|
|
|
WORKDIR /phase2-bn254/phase2
|
|
|
|
RUN cargo build --release --bin tornado
|
|
|
|
CMD cargo run --release --bin tornado
|