Skip to content

Commit 4eb0c7b

Browse files
committed
chore: install stable foundry in Dockerfile
1 parent f809e85 commit 4eb0c7b

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

Dockerfile.foundry

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,7 @@ FROM ubuntu:latest
88

99
RUN apt-get update -y && apt-get install -y bash curl git gzip netcat-openbsd
1010

11-
# Foundry only keeps the latest 3 nightly releases available, removing older
12-
# ones. We host the artifacts ourselves to ensure they are always there.
13-
#
14-
# This also makes the build very fast (building from source takes ~10 minutes on an M2 Max)
15-
ARG TARGETARCH COMMIT_HASH=577dae3f632b392856d1d62a5016c765fadd872d
16-
RUN curl --proto '=https' --tlsv1.2 -sSf \
17-
"https://download.farcaster.xyz/foundry/foundry_${COMMIT_HASH}_linux_${TARGETARCH}.tar.gz" \
18-
| tar -xzf - -C /usr/local/bin
11+
RUN curl --proto '=https' --tlsv1.2 -L "https://foundry.paradigm.xyz" | bash
12+
RUN foundryup --install stable
1913

2014
ENV RUST_BACKTRACE=full

0 commit comments

Comments
 (0)