Commit fcfcf6e7 authored by Matthew Slipper's avatar Matthew Slipper Committed by GitHub

ci-builder: Remove ugly shell hack (#3513)

parent 6cb2110b
---
'@eth-optimism/ci-builder': patch
---
Remove ugly shell hack
FROM debian:bullseye-20220822-slim as foundry-build FROM debian:bullseye-20220822-slim as foundry-build
SHELL ["/bin/bash", "-c"]
WORKDIR /opt WORKDIR /opt
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
...@@ -16,10 +18,6 @@ WORKDIR /opt/foundry ...@@ -16,10 +18,6 @@ WORKDIR /opt/foundry
RUN git clone https://github.com/foundry-rs/foundry.git . \ RUN git clone https://github.com/foundry-rs/foundry.git . \
&& git checkout f540aa9ebde88dce720140b332412089c2ee85b6 && git checkout f540aa9ebde88dce720140b332412089c2ee85b6
# Make sure we use bash instead of sh to get the source
# command below
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
RUN source $HOME/.profile && \ RUN source $HOME/.profile && \
cargo build --release && \ cargo build --release && \
strip /opt/foundry/target/release/forge && \ strip /opt/foundry/target/release/forge && \
......
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