Skip to content

Commit 2c2f761

Browse files
committed
sp1 toolchain
1 parent 92c1132 commit 2c2f761

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

Dockerfile.cpu

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ RUN wget -q https://golang.org/dl/go$GO_VERSION.linux-${TARGETARCH}.tar.gz && \
2323
rm go$GO_VERSION.linux-${TARGETARCH}.tar.gz
2424
ENV PATH=$PATH:/usr/local/go/bin
2525

26+
# Install sp1up and the SP1 toolchain
27+
ENV SP1_HOME="/root/.sp1"
28+
ENV PATH="${SP1_HOME}/bin:${PATH}"
29+
RUN curl -L https://sp1.succinct.xyz | bash && \
30+
sp1up
31+
2632
# Prepare for git dependencies
2733
ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
2834
RUN mkdir -p -m 0700 ~/.ssh && ssh-keyscan github.com >> ~/.ssh/known_hosts

Dockerfile.gpu

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ RUN wget -q https://golang.org/dl/go$GO_VERSION.linux-${TARGETARCH}.tar.gz && \
2323
rm go$GO_VERSION.linux-${TARGETARCH}.tar.gz
2424
ENV PATH=$PATH:/usr/local/go/bin
2525

26+
# Install sp1up and the SP1 toolchain
27+
ENV SP1_HOME="/root/.sp1"
28+
ENV PATH="${SP1_HOME}/bin:${PATH}"
29+
RUN curl -L https://sp1.succinct.xyz | bash && \
30+
sp1up
31+
2632
# Prepare for git dependencies
2733
ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
2834
RUN mkdir -p -m 0700 ~/.ssh && ssh-keyscan github.com >> ~/.ssh/known_hosts

0 commit comments

Comments
 (0)