Skip to content

Commit

Permalink
Comment the mysterioud commit checkout in electrs
Browse files Browse the repository at this point in the history
Blockstream's electrs doesn't use git tags, and we don't want the docker builds to change behavior based on when they're built, so we need to check out code at a specific point.

We choose the most up-to-date branch in the repo, which happens to be `202305-fix-mempool-batching`. Unclear as to why these branches don't make their way back into the main branch. Unclear as to what the main branch is.
  • Loading branch information
beaurancourt committed Jul 12, 2023
1 parent c42e76a commit 1a46f7c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/bitcoin/electrs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ RUN rustup component add rustfmt
WORKDIR /workdir
RUN git clone --no-checkout https://github.com/Blockstream/electrs.git
WORKDIR electrs
# Use the most recent commit from `202305-fix-mempool-batching`.
# This is the most recently worked on stable branch.
RUN git checkout 20e42862a57f0d45ce48a9956a361e7193b9e97d
ENV RUSTFLAGS -Ctarget-feature=-crt-static
RUN cargo build --release --locked --bin electrs
Expand Down

0 comments on commit 1a46f7c

Please sign in to comment.