Prerequisites
- Unix-like System
GNU Makeandgitgolangdev environment
Download the source
git clone git@github.com:tatris-io/tatris.git
cd tatrisExecute and checking out the binaries
makeYou can use the fast-build target to accelerate this phase. It takes less build time by ignoring various checks.
make fast-buildAll binaries lie under the ./bin directory.
Prerequisites
- Unix-like System
GNU MakeandgitDocker
Download the source
git clone git@github.com:tatris-io/tatris.git
cd tatrisBuild image
make docker-imageThe above-mentioned command is a default image-building target and outputs an anonymous image. You can use the following optional args to adjust this phase.
TARGETPLATFORMenables cross-platform building and is usually set tolinux/amd64orlinux/arm64.TAGspecifies tag of the output docker image.
A more practical example:
make docker-image TAG=tatris:0.1.0 TARGETPLATFORM=linux/amd64Users in China can use GOPROXY to speed up building:
GOPROXY=https://goproxy.cn,direct make docker-imageGet the details in configuring guide