# Building from source

# Build the binaries

Building binaries requires a Linux operating system.

To build the binaries yourself, simply clone this repo and run:

make all

Below are instructions on how to build binaries for other architectures and systems.

# Linux (by component)

GOOS=linux GOARCH=amd64 make immuclient-static immuadmin-static immudb-static

# MacOS (by component)

GOOS=darwin GOARCH=amd64 make immuclient-static immuadmin-static immudb-static

# Windows (by component)

GOOS=windows GOARCH=amd64 make immuclient-static immuadmin-static immudb-static

# Build the Docker images

If you want to build the container images yourself, simply clone this repo and run:

docker build -t myown/immudb:latest -f Dockerfile .
docker build -t myown/immuadmin:latest -f Dockerfile.immuadmin .
docker build -t myown/immuclient:latest -f Dockerfile.immuclient .