Skip to content

Commit

Permalink
feat(release): source
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfourzerofour committed Feb 24, 2024
1 parent d952e2b commit 38d4d1a
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions Dockerfile.build
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 38d4d1a

Please sign in to comment.