maybe fix
This commit is contained in:
@@ -30,23 +30,23 @@ RUN apt-get update && apt-get install -y \
|
|||||||
ARG OP_NODE_REPO=https://github.com/ethereum-optimism/optimism.git
|
ARG OP_NODE_REPO=https://github.com/ethereum-optimism/optimism.git
|
||||||
ARG OP_NODE_VERSION
|
ARG OP_NODE_VERSION
|
||||||
ARG OP_NODE_COMMIT
|
ARG OP_NODE_COMMIT
|
||||||
RUN git clone $OP_NODE_REPO --branch op-node/$OP_NODE_VERSION --single-branch . && \
|
RUN git clone $OP_NODE_REPO --branch $OP_NODE_VERSION --single-branch . && \
|
||||||
git switch -c branch-$OP_NODE_VERSION
|
git switch -c branch-$OP_NODE_VERSION
|
||||||
|
|
||||||
# Install pnpm
|
# Install pnpm
|
||||||
RUN npm install -g pnpm && \
|
#RUN npm install -g pnpm && \
|
||||||
curl -L https://foundry.paradigm.xyz | bash
|
# curl -L https://foundry.paradigm.xyz | bash
|
||||||
|
|
||||||
ENV PATH="${PATH}:/root/.foundry/bin"
|
#ENV PATH="${PATH}:/root/.foundry/bin"
|
||||||
RUN /root/.foundry/bin/foundryup
|
#RUN /root/.foundry/bin/foundryup
|
||||||
|
|
||||||
# Assuming the op-node project is located at the root of the repository
|
# Assuming the op-node project is located at the root of the repository
|
||||||
# Install dependencies and build the project
|
# Install dependencies and build the project
|
||||||
RUN cd op-node && pnpm install && pnpm build && ls
|
#RUN cd op-node && pnpm install && pnpm build && ls
|
||||||
|
|
||||||
|
|
||||||
# Now, switch to the Golang image for the rest of the operations
|
# Now, switch to the Golang image for the rest of the operations
|
||||||
FROM golang:1.21 as op-node
|
FROM golang:1.22 as op-node
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user