diff --git a/Dockerfile.forge b/Dockerfile.forge index 5eceeda56..ef9eb7ffe 100644 --- a/Dockerfile.forge +++ b/Dockerfile.forge @@ -5,8 +5,8 @@ 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 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 rsync +RUN apk --no-cache add curl gnupg + +RUN apk --no-cache update && \ + apk --no-cache upgrade && \ + apk --no-cache add libclang pkgconfig protobuf-c nodejs yarn