Skip to content

Commit 78c6b48

Browse files
committed
Add cast to deployer utils
1 parent 1d4c8fa commit 78c6b48

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

espresso/docker/op-stack/Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN apk add --no-cache \
1515
# Install mise for toolchain management
1616
RUN curl https://mise.run | MISE_INSTALL_PATH=/usr/local/bin/mise sh
1717

18-
# Install yq and dasel
18+
# Install yq, dasel and foundry
1919
RUN case "$TARGETARCH" in \
2020
"amd64") ARCH="amd64" ;; \
2121
"arm64") ARCH="arm64" ;; \
@@ -24,7 +24,10 @@ RUN case "$TARGETARCH" in \
2424
wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_$ARCH -O /usr/local/bin/yq && \
2525
chmod +x /usr/local/bin/yq && \
2626
wget https://github.com/TomWright/dasel/releases/latest/download/dasel_linux_$ARCH -O /usr/local/bin/dasel && \
27-
chmod +x /usr/local/bin/dasel
27+
chmod +x /usr/local/bin/dasel && \
28+
wget https://github.com/foundry-rs/foundry/releases/download/v1.4.4/foundry_v1.4.4_linux_$ARCH.tar.gz -O foundry.tgz && \
29+
tar -xzf foundry.tgz -C /usr/local/bin && \
30+
chmod +x /usr/local/bin/{cast,anvil,foundry,chisel}
2831

2932
# Install versioned toolchain
3033
COPY ./mise.toml .
@@ -165,6 +168,7 @@ FROM $TARGET_BASE_IMAGE AS op-deployer-target
165168
RUN apk add jq curl bash openssl
166169
COPY --from=builder /usr/local/bin/dasel /usr/local/bin/
167170
COPY --from=builder /usr/local/bin/yq /usr/local/bin/
171+
COPY --from=builder /usr/local/bin/cast /usr/local/bin/
168172
COPY --from=op-deployer-builder /app/op-deployer/bin/op-deployer /usr/local/bin
169173
COPY /packages/contracts-bedrock/forge-artifacts /contracts
170174
ENV DEPLOYER_ARTIFACTS_LOCATOR=/contracts

0 commit comments

Comments
 (0)