We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a73a41 commit e82da83Copy full SHA for e82da83
reth/Dockerfile
@@ -41,8 +41,8 @@ RUN apt-get update && apt-get -y upgrade && \
41
ENV REPO=https://github.com/base/node-reth.git
42
ENV VERSION=v0.1.0
43
ENV COMMIT=3f3d84634cb3fccd429a9df6ea039a77be2b907b
44
-RUN git clone $REPO --branch $VERSION --single-branch . && \
45
- git switch -c branch-$VERSION && \
+RUN git clone $REPO . && \
+ git checkout tags/$VERSION && \
46
bash -c '[ "$(git rev-parse HEAD)" = "$COMMIT" ]' || (echo "Commit hash verification failed" && exit 1)
47
48
RUN cargo build --bin base-reth-node --release
0 commit comments