Commit 3fff5d52 authored by Mark Tyneway's avatar Mark Tyneway Committed by GitHub

Merge pull request #8166 from ethereum-optimism/cl/strip-foundry-bins

fix(ci): Strip built binaries in foundry build + bump version
parents 34b094a8 bda85e4c
b205b6add562c778206a9edba1c0676c04a709b1 1a2e2e071ef0a1b6f41fdcba773b04c30498752f
...@@ -8,7 +8,7 @@ RUN apt-get update && \ ...@@ -8,7 +8,7 @@ RUN apt-get update && \
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup.sh && \ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup.sh && \
chmod +x ./rustup.sh && \ chmod +x ./rustup.sh && \
./rustup.sh -y sh rustup.sh -y
# Install nightly toolchain # Install nightly toolchain
RUN source $HOME/.profile && rustup update nightly RUN source $HOME/.profile && rustup update nightly
...@@ -24,6 +24,10 @@ COPY ./ops/scripts/install-foundry.sh ./install-foundry.sh ...@@ -24,6 +24,10 @@ COPY ./ops/scripts/install-foundry.sh ./install-foundry.sh
RUN curl -L https://foundry.paradigm.xyz | bash RUN curl -L https://foundry.paradigm.xyz | bash
RUN source $HOME/.profile && ./install-foundry.sh RUN source $HOME/.profile && ./install-foundry.sh
RUN strip /root/.foundry/bin/forge && \
strip /root/.foundry/bin/cast && \
strip /root/.foundry/bin/anvil
FROM --platform=linux/amd64 ghcr.io/crytic/echidna/echidna:v2.0.4 as echidna-test FROM --platform=linux/amd64 ghcr.io/crytic/echidna/echidna:v2.0.4 as echidna-test
FROM --platform=linux/amd64 debian:bullseye-slim as go-build FROM --platform=linux/amd64 debian:bullseye-slim as go-build
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment