From 335253dae824fd915f7bf4aa3dfee5d422deb1fd Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Sun, 21 Sep 2025 18:09:32 +0200 Subject: [PATCH 1/2] forge build before end --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 7c01963..fa5ff21 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,4 +39,6 @@ WORKDIR /wavs COPY ./scripts /wavs/scripts RUN chmod +x $(find /wavs/scripts -name '*.sh') +RUN FOUNDRY_PROFILE=ecdsa /usr/local/bin/forge build -C contracts + ENTRYPOINT ["/wavs/scripts/cli.sh"] From a33682c152aac90427079bc39cf31bac62ac1e7e Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Sun, 21 Sep 2025 18:14:56 +0200 Subject: [PATCH 2/2] install make --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fa5ff21..7d943ad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ RUN cd /wavs/contracts && make build FROM debian:bookworm-slim # The rm reduces size about 20MB -RUN apt update && apt install -yq jq curl && rm -rf /var/lib/apt/lists/* +RUN apt update && apt install -yq make jq curl && rm -rf /var/lib/apt/lists/* # Version 1: Base foundry tools (148 MB) # COPY --from=build /usr/local/bin /usr/local/bin @@ -39,6 +39,6 @@ WORKDIR /wavs COPY ./scripts /wavs/scripts RUN chmod +x $(find /wavs/scripts -name '*.sh') -RUN FOUNDRY_PROFILE=ecdsa /usr/local/bin/forge build -C contracts +RUN (cd contracts && make build-ecdsa) ENTRYPOINT ["/wavs/scripts/cli.sh"]