From 8c3d24bae47c631b754ec3bc25b17e07f5b792ad Mon Sep 17 00:00:00 2001 From: nazreen <10964594+nazreen@users.noreply.github.com> Date: Fri, 28 Nov 2025 22:19:35 -0300 Subject: [PATCH 1/8] fix foundryup line --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 14b379ff5c..502caa116d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -421,8 +421,7 @@ ENV CARGO_BUILD_JOBS=$CARGO_BUILD_JOBS # Install foundry - this needs rust >= 1.81.0 ENV PATH="/root/.foundry/bin:$PATH" RUN curl -L https://foundry.paradigm.xyz | bash && \ - foundryup -i ${FOUNDRY_VERSION} && \ - foundryup -u ${FOUNDRY_VERSION} + foundryup -v ${FOUNDRY_VERSION} # Install SVM and Solidity compiler in single layer RUN cargo +${RUST_TOOLCHAIN_VERSION_ANCHOR} install svm-rs@${SVM_RS_VERSION} && \ From 7dfd54213bace2b831c190a5f3dd1221ab6f304d Mon Sep 17 00:00:00 2001 From: nazreen <10964594+nazreen@users.noreply.github.com> Date: Fri, 28 Nov 2025 22:36:12 -0300 Subject: [PATCH 2/8] try --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 502caa116d..d767c17376 100644 --- a/Dockerfile +++ b/Dockerfile @@ -419,9 +419,9 @@ ARG CARGO_BUILD_JOBS=default ENV CARGO_BUILD_JOBS=$CARGO_BUILD_JOBS # Install foundry - this needs rust >= 1.81.0 +RUN curl -L https://foundry.paradigm.xyz | bash +RUN foundryup -v ${FOUNDRY_VERSION} ENV PATH="/root/.foundry/bin:$PATH" -RUN curl -L https://foundry.paradigm.xyz | bash && \ - foundryup -v ${FOUNDRY_VERSION} # Install SVM and Solidity compiler in single layer RUN cargo +${RUST_TOOLCHAIN_VERSION_ANCHOR} install svm-rs@${SVM_RS_VERSION} && \ From 63636b757ade9f05e477b91bd04de98f3ab290e2 Mon Sep 17 00:00:00 2001 From: nazreen <10964594+nazreen@users.noreply.github.com> Date: Fri, 28 Nov 2025 22:43:22 -0300 Subject: [PATCH 3/8] absolute path --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d767c17376..003e462693 100644 --- a/Dockerfile +++ b/Dockerfile @@ -420,7 +420,7 @@ ENV CARGO_BUILD_JOBS=$CARGO_BUILD_JOBS # Install foundry - this needs rust >= 1.81.0 RUN curl -L https://foundry.paradigm.xyz | bash -RUN foundryup -v ${FOUNDRY_VERSION} +RUN /root/.foundry/bin/foundryup -v ${FOUNDRY_VERSION} ENV PATH="/root/.foundry/bin:$PATH" # Install SVM and Solidity compiler in single layer From 23789ef2a55ba4ee146b1e71439d8bb085077aaa Mon Sep 17 00:00:00 2001 From: nazreen <10964594+nazreen@users.noreply.github.com> Date: Fri, 28 Nov 2025 22:44:21 -0300 Subject: [PATCH 4/8] move line up --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 003e462693..7151daac4d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -419,9 +419,9 @@ ARG CARGO_BUILD_JOBS=default ENV CARGO_BUILD_JOBS=$CARGO_BUILD_JOBS # Install foundry - this needs rust >= 1.81.0 -RUN curl -L https://foundry.paradigm.xyz | bash -RUN /root/.foundry/bin/foundryup -v ${FOUNDRY_VERSION} ENV PATH="/root/.foundry/bin:$PATH" +RUN curl -L https://foundry.paradigm.xyz | bash +RUN foundryup -v ${FOUNDRY_VERSION} # Install SVM and Solidity compiler in single layer RUN cargo +${RUST_TOOLCHAIN_VERSION_ANCHOR} install svm-rs@${SVM_RS_VERSION} && \ From 1eaf1d6f9bc79e473521f254a069f7d580eb92fe Mon Sep 17 00:00:00 2001 From: nazreen <10964594+nazreen@users.noreply.github.com> Date: Fri, 28 Nov 2025 23:02:24 -0300 Subject: [PATCH 5/8] fix --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7151daac4d..8864cbf809 100644 --- a/Dockerfile +++ b/Dockerfile @@ -421,7 +421,7 @@ ENV CARGO_BUILD_JOBS=$CARGO_BUILD_JOBS # Install foundry - this needs rust >= 1.81.0 ENV PATH="/root/.foundry/bin:$PATH" RUN curl -L https://foundry.paradigm.xyz | bash -RUN foundryup -v ${FOUNDRY_VERSION} +RUN foundryup -i ${FOUNDRY_VERSION} # Install SVM and Solidity compiler in single layer RUN cargo +${RUST_TOOLCHAIN_VERSION_ANCHOR} install svm-rs@${SVM_RS_VERSION} && \ From dde11a7464698c80d3999dbcb65b5daf998db8b7 Mon Sep 17 00:00:00 2001 From: nazreen <10964594+nazreen@users.noreply.github.com> Date: Fri, 28 Nov 2025 23:03:51 -0300 Subject: [PATCH 6/8] remove -u --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8864cbf809..c82a70144d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -420,8 +420,8 @@ ENV CARGO_BUILD_JOBS=$CARGO_BUILD_JOBS # Install foundry - this needs rust >= 1.81.0 ENV PATH="/root/.foundry/bin:$PATH" -RUN curl -L https://foundry.paradigm.xyz | bash -RUN foundryup -i ${FOUNDRY_VERSION} +RUN curl -L https://foundry.paradigm.xyz | bash && \ + foundryup -i ${FOUNDRY_VERSION} # Install SVM and Solidity compiler in single layer RUN cargo +${RUST_TOOLCHAIN_VERSION_ANCHOR} install svm-rs@${SVM_RS_VERSION} && \ From 2013b8b85392ee04f0a11a3eeddb649d0f2c2630 Mon Sep 17 00:00:00 2001 From: nazreen <10964594+nazreen@users.noreply.github.com> Date: Fri, 28 Nov 2025 23:20:20 -0300 Subject: [PATCH 7/8] fix --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c82a70144d..14b379ff5c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -421,7 +421,8 @@ ENV CARGO_BUILD_JOBS=$CARGO_BUILD_JOBS # Install foundry - this needs rust >= 1.81.0 ENV PATH="/root/.foundry/bin:$PATH" RUN curl -L https://foundry.paradigm.xyz | bash && \ - foundryup -i ${FOUNDRY_VERSION} + foundryup -i ${FOUNDRY_VERSION} && \ + foundryup -u ${FOUNDRY_VERSION} # Install SVM and Solidity compiler in single layer RUN cargo +${RUST_TOOLCHAIN_VERSION_ANCHOR} install svm-rs@${SVM_RS_VERSION} && \ From 98b59d8aeb7b3470cf774ed8566d3f2c1602c1a4 Mon Sep 17 00:00:00 2001 From: nazreen <10964594+nazreen@users.noreply.github.com> Date: Fri, 28 Nov 2025 23:20:28 -0300 Subject: [PATCH 8/8] fix --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 14b379ff5c..9a26deedc0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -422,7 +422,7 @@ ENV CARGO_BUILD_JOBS=$CARGO_BUILD_JOBS ENV PATH="/root/.foundry/bin:$PATH" RUN curl -L https://foundry.paradigm.xyz | bash && \ foundryup -i ${FOUNDRY_VERSION} && \ - foundryup -u ${FOUNDRY_VERSION} + foundryup -u v${FOUNDRY_VERSION} # Install SVM and Solidity compiler in single layer RUN cargo +${RUST_TOOLCHAIN_VERSION_ANCHOR} install svm-rs@${SVM_RS_VERSION} && \