From eefd58ff79e7656666e3825fb44072d77fe6dc66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Jakub=20Nani=C5=A1ta?= Date: Fri, 5 Jan 2024 15:59:58 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=AA=9A=20Add=20foundry=20to=20the=20image?= =?UTF-8?q?=20(#162)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Dockerfile b/Dockerfile index b0762adfc..9844393a3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,6 +25,7 @@ FROM node:$NODE_VERSION as base # We'll need a mock NPM_TOKEN to execute any pnpm commands ENV NPM_TOKEN= +ENV PATH "/root/.foundry/bin:$PATH" # Update the system packages RUN apt-get update @@ -34,11 +35,25 @@ RUN apt-get install -y \ # Get the json utilities jq +# Install foundry +RUN curl -L https://foundry.paradigm.xyz | bash +RUN foundryup + # Enable corepack, new node package manager manager # # See more here https://nodejs.org/api/corepack.html RUN corepack enable +# Output versions +RUN node -v +RUN pnpm -v +RUN git --version +RUN forge --version +RUN anvil --version +RUN chisel --version +RUN cast --version + + # .-.-. .-.-. .-.-. .-.-. .-.-. .-.-. .-.-. .-.- # / / \ \ / / \ \ / / \ \ / / \ \ / / \ \ / / \ \ / / \ \ / / \ # `-' `-`-' `-`-' `-`-' `-`-' `-`-' `-`-' `-`-'