You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
322 B
10 lines
322 B
#!/usr/bin/env bash |
|
|
|
set -ev |
|
|
|
BITCOIND_VERSION=${BITCOIN_VERSION:-0.20.1} |
|
|
|
docker pull ruimarinho/bitcoin-core:$BITCOIND_VERSION |
|
CONTAINER_ID=$(docker create ruimarinho/bitcoin-core:$BITCOIND_VERSION) |
|
sudo docker cp $CONTAINER_ID:/opt/bitcoin-$BITCOIND_VERSION/bin/bitcoind /usr/local/bin/bitcoind |
|
docker rm $CONTAINER_ID
|
|
|