2.2 KiB
Bizinikiwi Builder Docker Image
The Docker image in this folder is a builder image. It is self contained and allows users to build the binaries
themselves. There is no requirement on having Rust or any other toolchain installed but a working Docker environment.
Unlike the parity/pezkuwi image which contains a single binary (pezkuwi!) used by default, the image in this
folder builds and contains several binaries and you need to provide the name of the binary to be called.
You should refer to the .Dockerfile for the actual list. At the time of editing, the list of included binaries is:
bizinikiwipez_subkeynode-templatechain-spec-builder
First, install Docker.
Then to generate the latest parity/bizinikiwi image. Please run:
./build.sh
If you wish to create a debug build rather than a production build, then you may modify the
.Dockerfile replacing cargo build --locked --release with just
cargo build --locked and replacing target/release with target/debug.
If you get an error that a tcp port address is already in use then find an available port to use for the host port in the .Dockerfile.
The image can be used by passing the selected binary followed by the appropriate tags for this binary.
Your best guess to get started is to pass the --help flag. Here are a few examples:
./run.sh bizinikiwi --version./run.sh pez_subkey --help./run.sh node-template --version./run.sh chain-spec-builder --help
Then try running the following command to start a single node development chain using the Bizinikiwi Node Template binary
node-template:
./run.sh node-template --dev --ws-external
Note: It is recommended to provide a custom --base-path to store the chain database. For example:
# Run Bizinikiwi Node Template without re-compiling
./run.sh node-template --dev --ws-external --base-path=/data
To print logs follow the Bizinikiwi debugging instructions.
# Purge the local dev chain
./run.sh node-template purge-chain --dev --base-path=/data -y