Skip to content

Commit

Permalink
fix: backend blockbook regtest build version
Browse files Browse the repository at this point in the history
  • Loading branch information
vdovhanych committed Sep 12, 2023
1 parent db3ac49 commit 45ed646
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/bitcoin-regtest/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ ARG TARGETPLATFORM
RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then ARCHITECTURE=amd64; elif [ "$TARGETPLATFORM" = "linux/arm64" ]; then ARCHITECTURE=arm64; else ARCHITECTURE=amd64; fi \
&& wget https://data.trezor.io/dev/blockbook/builds/backend-bitcoin-regtest_25.0-satoshilabs-1_${ARCHITECTURE}.deb \
&& wget https://data.trezor.io/dev/blockbook/builds/blockbook-bitcoin-regtest_0.4.0_${ARCHITECTURE}.deb \
&& dpkg -i backend-bitcoin-regtest_24.0.1-satoshilabs-1_${ARCHITECTURE}.deb \
&& dpkg -i backend-bitcoin-regtest_25.0-satoshilabs-1_${ARCHITECTURE}.deb \
&& dpkg -i blockbook-bitcoin-regtest_0.4.0_${ARCHITECTURE}.deb \
&& rm blockbook-bitcoin-regtest_0.4.0_${ARCHITECTURE}.deb \
&& rm backend-bitcoin-regtest_24.0.1-satoshilabs-1_${ARCHITECTURE}.deb
&& rm backend-bitcoin-regtest_25.0-satoshilabs-1_${ARCHITECTURE}.deb

# replace default blockbook config with custom config with changed coin_shortcut to "REGTEST", to be compatibile with trezor-common shorcut.
COPY ./docker/bitcoin-regtest/blockchaincfg.json /opt/coins/blockbook/bitcoin_regtest/config/blockchaincfg.json
Expand Down

0 comments on commit 45ed646

Please sign in to comment.