The Dockerfile will install all required stuff to run a Bitcloud (BTDX) Masternode and is based on script btdxsetup.sh (see: https://github.com/dArkjON/BTDX-Masternode-Setup-Ubuntu-1404/blob/master/btdxsetup.sh)
- Linux Ubuntu 16.04 LTS
- Running as docker host server (package docker-ce installed)
sudo curl -sSL https://get.docker.com | sh
- Dockerfile
- bitcloud.conf
- bitcloud.sv.conf
- start.sh
Create a swapfile to speed up the building process. Recommended if not enough RAM available on your docker host server.
dd if=/dev/zero of=/swapfile bs=1M count=2048
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
docker build -t btdx-masternode .
docker tag btdx-masternode limxtec/btdx-masternode
docker login -u <repository> -p"<PWD>"
docker push limxtec/btdx-masternode:<tag>