-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
FROM ubuntu:22.04 | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
# Install Node.js, Yarn and required dependencies | ||
RUN apt-get update \ | ||
&& apt-get install -y curl git gnupg build-essential cmake libgmp-dev libsodium-dev nasm curl m4 \ | ||
&& curl --silent --location https://deb.nodesource.com/setup_12.x | bash - \ | ||
&& apt-get install -y nodejs | ||
|
||
RUN git clone https://github.com/Orbiter-Finance/rapidsnark.git /rapidsnark | ||
WORKDIR /rapidsnark | ||
RUN git submodule init | ||
RUN git submodule update | ||
./build_gmp.sh host | ||
mkdir build_prover && cd build_prover | ||
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../package | ||
make -j$(nproc) && make install | ||
|
||
ENTRYPOINT ["/rapidsnark/package/build/prover_cuda"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters