Skip to content

Commit

Permalink
🪚 Add foundry to the image (LayerZero-Labs#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
janjakubnanista authored Jan 5, 2024
1 parent 4c1108e commit eefd58f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ FROM node:$NODE_VERSION as base

# We'll need a mock NPM_TOKEN to execute any pnpm commands
ENV NPM_TOKEN=
ENV PATH "/root/.foundry/bin:$PATH"

# Update the system packages
RUN apt-get update
Expand All @@ -34,11 +35,25 @@ RUN apt-get install -y \
# Get the json utilities
jq

# Install foundry
RUN curl -L https://foundry.paradigm.xyz | bash
RUN foundryup

# Enable corepack, new node package manager manager
#
# See more here https://nodejs.org/api/corepack.html
RUN corepack enable

# Output versions
RUN node -v
RUN pnpm -v
RUN git --version
RUN forge --version
RUN anvil --version
RUN chisel --version
RUN cast --version


# .-.-. .-.-. .-.-. .-.-. .-.-. .-.-. .-.-. .-.-
# / / \ \ / / \ \ / / \ \ / / \ \ / / \ \ / / \ \ / / \ \ / / \
# `-' `-`-' `-`-' `-`-' `-`-' `-`-' `-`-' `-`-'
Expand Down

0 comments on commit eefd58f

Please sign in to comment.