Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 1.47 KB

BUILD.md

File metadata and controls

54 lines (38 loc) · 1.47 KB

Build the binaries yourself

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

make all

To embed the webconsole, build with

rm -rf webconsole/dist  # force download of the correct webconsole version
make WEBCONSOLE=default

This will download the appropriate webconsole release and add the Go build tag webconsole which will use the statik library to embed the front-end code. The front-end will be then served in the web API root "/".

The webconsole generation will override the default page statik.go. To regenerate the default page, change the files in webconsole/default and run make webconsole/default

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

Freebsd (by component)

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

Build the Docker images yourself

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 .

And then run immudb as described when pulling official immudb Docker image.