cargo-risczero 3.0.6

RISC Zero CLI tools
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# To build run: docker build -f Dockerfile.release --build-arg="RISC0_RUST_TOOLCHAIN_VERSION=1.88.0" -t risczero/risc0-guest-builder:r0.1.88.0 .
FROM ubuntu:20.04@sha256:3246518d9735254519e1b2ff35f95686e4a5011c90c85344c1f38df7bae9dd37

ARG RISC0_RUST_TOOLCHAIN_VERSION=

RUN apt-get update
RUN apt-get install -y --no-install-recommends ca-certificates clang curl libssl-dev pkg-config build-essential
RUN curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL 'https://sh.rustup.rs' | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
RUN curl -L https://risczero.com/install | bash
ENV PATH="/root/.risc0/bin:${PATH}"
RUN rzup install cpp
RUN rzup install rust ${RISC0_RUST_TOOLCHAIN_VERSION}

ENTRYPOINT [ "/bin/sh" ]