From 29a88829dc394e8d25255f8efb924aba0860e9b7 Mon Sep 17 00:00:00 2001 From: Tom French <15848336+TomAFrench@users.noreply.github.com> Date: Fri, 29 Mar 2024 12:24:04 +0000 Subject: [PATCH] chore: improve caching in noir earthfile --- noir/Earthfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/noir/Earthfile b/noir/Earthfile index 97ba929fa9aa..a6496804eccb 100644 --- a/noir/Earthfile +++ b/noir/Earthfile @@ -28,13 +28,14 @@ nargo: packages: FROM node:20 + RUN curl https://sh.rustup.rs -sSf | bash -s -- -y + RUN echo 'source $HOME/.cargo/env' >> $HOME/.bashrc + RUN apt update && apt install -y jq libc++1 + # `noir-repo` is nested inside of `noir` so we copy `bb.js` as such to account # for the extra nested folder specified in portalled package paths COPY ../barretenberg/ts/+build/build /build/../barretenberg/ts - RUN curl https://sh.rustup.rs -sSf | bash -s -- -y - RUN echo 'source $HOME/.cargo/env' >> $HOME/.bashrc - RUN apt update && apt install -y jq libc++1 WORKDIR /build # Relevant source (TODO finer-grained)