Prerequisites
- Unix-like System
GNU Make
andgit
golang
dev environment
Download the source
git clone git@github.com:tatris-io/tatris.git
cd tatris
Execute and checking out the binaries
make
You can use the fast-build
target to accelerate this phase. It takes less build time by ignoring various checks.
make fast-build
All binaries lie under the ./bin
directory.
Prerequisites
- Unix-like System
GNU Make
andgit
Docker
Download the source
git clone git@github.com:tatris-io/tatris.git
cd tatris
Build image
make docker-image
The 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.
TARGETPLATFORM
enables cross-platform building and is usually set tolinux/amd64
orlinux/arm64
.TAG
specifies tag of the output docker image.
A more practical example:
make docker-image TAG=tatris:0.1.0 TARGETPLATFORM=linux/amd64
Users in China can use GOPROXY to speed up building:
GOPROXY=https://goproxy.cn,direct make docker-image
Get the details in configuring guide