Skip to content

Commit e82da83

Browse files
author
wbnns
authored
fix(reth/dockerfile): Reference tag instead of branch (#460)
1 parent 5a73a41 commit e82da83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reth/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ RUN apt-get update && apt-get -y upgrade && \
4141
ENV REPO=https://github.com/base/node-reth.git
4242
ENV VERSION=v0.1.0
4343
ENV COMMIT=3f3d84634cb3fccd429a9df6ea039a77be2b907b
44-
RUN git clone $REPO --branch $VERSION --single-branch . && \
45-
git switch -c branch-$VERSION && \
44+
RUN git clone $REPO . && \
45+
git checkout tags/$VERSION && \
4646
bash -c '[ "$(git rev-parse HEAD)" = "$COMMIT" ]' || (echo "Commit hash verification failed" && exit 1)
4747

4848
RUN cargo build --bin base-reth-node --release

0 commit comments

Comments
 (0)