Skip to content

dockerfile + compose to compile cardano-node as in tutorial 1 of cardano-tutorials

Notifications You must be signed in to change notification settings

stephane303/cardanoNodeBuilder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

At the minute, the only way to install the cardano-node and the cardano-cli, necessary to run a stake pool on Shelley, is to compile them. Compilation can be troublesome for some and lead to issues. To reduce complexity and have predictable results, I use a Docker build environment. This setup will always to build against the latest cardano-node version and pioneer-* tag as in the official documentation.

IMPORTANT: you must run these steps to compile cardano-node and cardano-cli on your local computer, and copy them over to your servers. This is to avoid useless load and installing compilation software on your servers.

install docker

Install and run Docker Desktop for your OS from the official site, on your local computer.

clone the build repo

git clone https://github.com/gacallea/cardanoNodeBuilder.git

compile the software

cd cardanoNodeBuilder
docker-compose up --build -d

copy the binaries to your host

docker container cp build_builder_1:/usr/local/bin cardano-bins/

scp the binaries to your nodes

NOTE: Make sure you point to your actual servers.

scp cardano-bins/bin/cardano-node node-server:/usr/local/bin/
scp cardano-bins/bin/cardano-cli node-server:/usr/local/bin/
scp cardano-bins/bin/cardano-node relay-server:/usr/local/bin/
scp cardano-bins/bin/cardano-cli relay-server:/usr/local/bin/

About

dockerfile + compose to compile cardano-node as in tutorial 1 of cardano-tutorials

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published