diff --git a/Dockerfile.forge b/Dockerfile.forge index d1fd822ca..7b8f19e4e 100644 --- a/Dockerfile.forge +++ b/Dockerfile.forge @@ -5,9 +5,14 @@ FROM ghcr.io/foundry-rs/foundry:latest as foundry FROM $CROSS_BASE_IMAGE COPY --from=foundry /usr/local/bin/forge /usr/local/bin/forge -RUN apt-get update && apt-get install -y gnupg2 apt-transport-https ca-certificates +ARG DEBIAN_FRONTEND=noninteractive + +RUN apt-get update && apt-get install -y gnupg2 apt-transport-https ca-certificates software-properties-common RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list RUN mkdir -p /etc/apt/keyrings RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list RUN apt-get update && apt-get -y upgrade && apt-get install -y libclang-dev pkg-config protobuf-compiler nodejs yarn +RUN add-apt-repository ppa:ethereum/ethereum +RUN apt-get update +RUN apt-get install -y solc