How to build a Docker image with Linux, Windows, and MacOS.
The Truebit GitHub repo is compatible with Linux, Windows, and MacOS. Our latest release is intended for developers who want to build the Docker image to test changes locally. Below you will find instructions on how to begin.
Build the Docker image locally
Clone the repo
git clone https://github.com/TruebitProtocol/truebit-eth
cd truebit-eth
Build the image in Linux or Windows:
docker build -t truebit-os:latest .
Build the image in MacOS:
1- Override default target platform with linux/amd64
2- Increase Docker Desktop Swap memory to 4gb
export DOCKER_DEFAULT_PLATFORM=linux/amd64
docker build -t truebit-os:latest .
Run the image (please follow the Getting Started Guide)
We encourage the community to extend its functionality using a pull request (PR). If you’re new to the idea, pull requests let you tell others about changes you’ve pushed to a branch in a repository on GitHub.
To initiate, fork the repo and create a PR in the master; please include a readme file to explain the change.
We will review the changes and let you know the decision on your GitHub account.