Skip to main content
The Tendermint rbuilder Docker image provides a deterministic build environment that is used to build Cosmos SDK applications. It provides a way to be reasonably sure that the executables are really built from the git source. It also makes sure that the same, tested dependencies are used and statically built into the executable.

Prerequisites

Make sure you have Docker installed on your system. All the following instructions have been tested on Ubuntu 18.04.2 LTS with docker 20.10.2.

Build

Clone gaia:
Checkout the commit, branch, or release tag you want to build:
The buildsystem supports and produces binaries for the following architectures:
  • darwin/amd64
  • linux/amd64
  • linux/arm64
  • windows/amd64
Run the following command to launch a build for all supported architectures:
The build system generates both the binaries and deterministic build report in the artifacts directory. The artifacts/build_report file contains the list of the build artifacts and their respective checksums, and can be used to verify build sanity. An example of its contents follows: