forked from cerc-io/stack-orchestrator
fix first pass
This commit is contained in:
parent
0b0394a940
commit
f31f7bc993
@ -3,12 +3,17 @@ FROM cerc/foundry:local
|
|||||||
# Install node (local foundry is a debian based image)
|
# Install node (local foundry is a debian based image)
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y curl wget \
|
&& apt-get install -y curl wget \
|
||||||
&& curl --silent --location https://deb.nodesource.com/setup_16.x | bash - \
|
&& apt-get install -y git busybox jq python3 make gcc g++
|
||||||
&& apt-get update \
|
|
||||||
&& apt-get install -y nodejs git busybox jq \
|
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash \
|
||||||
|
&& export NVM_DIR="$HOME/.nvm" \
|
||||||
|
&& [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" \
|
||||||
|
&& nvm install 16.16.0 \
|
||||||
&& node -v
|
&& node -v
|
||||||
|
|
||||||
RUN corepack enable \
|
SHELL ["/bin/bash", "-c"]
|
||||||
|
RUN source $HOME/.bashrc \
|
||||||
|
&& corepack enable \
|
||||||
&& yarn --version
|
&& yarn --version
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
@ -16,7 +21,10 @@ WORKDIR /app
|
|||||||
# Copy optimism repo contents
|
# Copy optimism repo contents
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN echo "Building optimism" && \
|
SHELL ["/bin/bash", "-c"]
|
||||||
pnpm install && pnpm build
|
RUN source $HOME/.bashrc \
|
||||||
|
&& echo "Building optimism" \
|
||||||
|
&& pnpm i -g pnpm@8.15.3 \
|
||||||
|
&& pnpm install && pnpm build
|
||||||
|
|
||||||
WORKDIR /app/packages/contracts-bedrock
|
WORKDIR /app/packages/contracts-bedrock
|
||||||
|
Loading…
Reference in New Issue
Block a user