From 38d4d1a9cce73445babccdd7e5ca467130d9f962 Mon Sep 17 00:00:00 2001 From: 0xfourzerofour Date: Fri, 23 Feb 2024 21:06:15 -0500 Subject: [PATCH] feat(release): source --- Dockerfile.build | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/Dockerfile.build b/Dockerfile.build index d1deefb39..f8dc3cc74 100644 --- a/Dockerfile.build +++ b/Dockerfile.build @@ -1,14 +1,16 @@ ARG CROSS_BASE_IMAGE -# Dockerfile.forge + FROM ghcr.io/foundry-rs/foundry:latest as foundry FROM $CROSS_BASE_IMAGE COPY --from=foundry /usr/local/bin/forge /usr/local/bin/forge -ARG DEBIAN_FRONTEND=noninteractive +# Install Node.js and Yarn +RUN apt-get update \ + && apt-get install -y curl \ + && curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \ + && apt-get install -y nodejs \ + && npm install -g yarn \ + && apt-get clean -RUN curl https://raw.githubusercontent.com/creationix/nvm/v0.20.0/install.sh | bash \ - && . ~/.nvm/nvm.sh \ - && nvm install 18 \ - && nvm use 18 -RUN apt-get update && apt-get -y upgrade && apt-get install -y protobuf-compiler yarn +RUN apt-get update && apt-get -y upgrade && apt-get install -y protobuf-compiler