Skip to content

Commit

Permalink
chore(docker): add apk commands
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfourzerofour committed Oct 27, 2023
1 parent 4df0f4b commit fe3671b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile.forge
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit fe3671b

Please sign in to comment.