mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
11 lines
326 B
Bash
Executable File
11 lines
326 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -ev
|
|
|
|
BITCOIND_VERSION=${BITCOIN_VERSION:-25.0}
|
|
|
|
docker pull lightninglabs/bitcoin-core:$BITCOIND_VERSION
|
|
CONTAINER_ID=$(docker create lightninglabs/bitcoin-core:$BITCOIND_VERSION)
|
|
sudo docker cp $CONTAINER_ID:/opt/bitcoin-$BITCOIND_VERSION/bin/bitcoind /usr/local/bin/bitcoind
|
|
docker rm $CONTAINER_ID
|