mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-25 21:07:56 +00:00
1c92bd5c12
* fixes #13071 * remove warning
28 lines
1.2 KiB
Markdown
28 lines
1.2 KiB
Markdown
# Substrate 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/polkadot` image which contains a single binary (`polkadot`!) 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:
|
|
|
|
- substrate
|
|
- subkey
|
|
- node-template
|
|
- chain-spec-builder
|
|
|
|
To generate the latest parity/substrate image. Please first run:
|
|
```sh
|
|
./build.sh
|
|
```
|
|
|
|
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:
|
|
|
|
- `docker run --rm -it parity/substrate substrate --version`
|
|
- `docker run --rm -it parity/substrate subkey --help`
|
|
- `docker run --rm -it parity/substrate node-template --version`
|
|
- `docker run --rm -it parity/substrate chain-spec-builder --help`
|