Building from Source

You can build the docker image from source, or build the binaries locally. Both of these can take quite a long time, even on "developer" hardware - particularly the docker image.

Running the node from source

git clone
cd substrate
git checkout offchain_ipfs
cargo build --workspace

Building the docker image from source

This is a multistage build based on Alpine linux. The resulting image will contain the substrate-ipfs binary and the node-template binary.

We suggest you supply your own tag name.

git clone
cd substrate
git checkout offchain_ipfs_docker
docker build --file .maintain/Dockerfile --tag [your-tag-here] .

Refer to the Using the Docker image section of for information about running the image.

Read on to learn about the modifications in the offchain_ipfs branch, and what they do.