mirror of
https://github.com/mynodebtc/mynode.git
synced 2025-01-11 11:29:27 +00:00
Add docker dep
This commit is contained in:
parent
a7dd764885
commit
6c29249e48
|
@ -1,4 +1,8 @@
|
|||
=== v0.1.65 ===
|
||||
- Add UI Dark Mode
|
||||
- Improve LND Connect IP detection (again)
|
||||
- Refactor for electrum server improvements
|
||||
- Install docker and docker-compose dependency
|
||||
|
||||
=== v0.1.64 ===
|
||||
- Improve logging for upgrades
|
||||
|
|
|
@ -12,7 +12,7 @@ systemctl stop bitcoind
|
|||
|
||||
# Install any new software
|
||||
apt -y install pv sysstat network-manager unzip pkg-config libfreetype6-dev libpng-dev
|
||||
apt -y install libatlas-base-dev
|
||||
apt -y install libatlas-base-dev libffi-dev libssl-dev
|
||||
|
||||
# Install any pip software
|
||||
pip install tzupdate
|
||||
|
@ -21,6 +21,7 @@ pip install tzupdate
|
|||
# Install any pip3 software
|
||||
pip3 install python-bitcointx
|
||||
pip3 install lndmanage==0.8.0 # Install LND Manage (keep up to date with LND)
|
||||
pip3 install docker-compose
|
||||
|
||||
|
||||
# Import Keys
|
||||
|
@ -28,6 +29,16 @@ curl https://keybase.io/roasbeef/pgp_keys.asc | gpg --import
|
|||
gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 01EA5486DE18A882D4C2684590C8019E36C2E964
|
||||
|
||||
|
||||
# Install docker
|
||||
if [ ! -f /usr/bin/docker ]; then
|
||||
curl -sSL https://get.docker.com | sh
|
||||
fi
|
||||
groupadd docker || true
|
||||
usermod -aG docker admin
|
||||
usermod -aG docker bitcoin
|
||||
usermod -aG docker root
|
||||
|
||||
|
||||
# Upgrade BTC
|
||||
BTC_VERSION="0.18.1"
|
||||
ARCH="arm-linux-gnueabihf"
|
||||
|
|
|
@ -73,6 +73,7 @@ apt-get -y install inotify-tools libssl-dev tor tmux screen
|
|||
apt-get -y install python-grpcio python3-grpcio
|
||||
apt-get -y install pv sysstat network-manager rsync parted unzip pkg-config
|
||||
apt-get -y install libfreetype6-dev libpng-dev libatlas-base-dev
|
||||
apt-get -y install libffi-dev libssl-dev
|
||||
|
||||
|
||||
# Install other things without recommendation
|
||||
|
@ -121,6 +122,7 @@ pip3 install wheel setuptools
|
|||
pip3 install bitstring lnd-grpc pycoin aiohttp connectrum python-bitcoinlib
|
||||
pip3 install python-bitcointx
|
||||
pip3 install lndmanage==0.8.0 # Install LND Manage (keep up to date with LND)
|
||||
pip3 install docker-compose
|
||||
|
||||
|
||||
# Install Rust
|
||||
|
@ -137,6 +139,15 @@ if [ ! -f /tmp/installed_node ]; then
|
|||
touch /tmp/installed_node
|
||||
fi
|
||||
|
||||
# Install docker
|
||||
if [ ! -f /usr/bin/docker ]; then
|
||||
curl -sSL https://get.docker.com | sh
|
||||
fi
|
||||
groupadd docker || true
|
||||
usermod -aG docker admin
|
||||
usermod -aG docker bitcoin
|
||||
usermod -aG docker root
|
||||
|
||||
# Install node packages
|
||||
npm install -g pug-cli browserify uglify-js babel-cli
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user