Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion geth/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ WORKDIR /op-geth

ARG OPGETH_VERSION

RUN git checkout $OPGETH_VERSION
RUN git fetch --tags && git checkout "tags/${OPGETH_VERSION}"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about clone with single branch?

> git clone https://github.com/ethereum-optimism/op-geth.git --branch v1.101603.1 --single-branch

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it should work

RUN git clone --branch ${OPGETH_VERSION} --single-branch https://github.com/ethereum-optimism/op-geth.git


RUN make geth
# -------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ WORKDIR /optimism

ARG OPNODE_VERSION

RUN git checkout op-node/$OPNODE_VERSION
RUN git fetch --tags && git checkout op-node/$OPNODE_VERSION

COPY --from=just-builder /app/just /usr/local/bin/

Expand Down