Skip to content

Latest commit

 

History

History
63 lines (44 loc) · 1.4 KB

File metadata and controls

63 lines (44 loc) · 1.4 KB

Build

Build requirements

Currently, chatterbox can be solely built under Linux.

If you wish to build the chatterbox binary directly on your Linux distribution, ensure your system provides all the required dependencies. You can figure out what are the needed packages for your system by inspecting the available builder Dockerfile(s).

How to build

After you have checked out all the chatterbox's submodules with:

git submodule update --init --recursive

Build the chatterbox binary, alongside with all its dependencies, with:

cd scripts
./build.sh build-all

Build using a Docker builder image

It is possible to use a Docker builder image to compile the binary of chatterbox.

  • scripts/Dockerfile.leap.builder
  • scripts/Dockerfile.ubuntu.builder

To build chatterbox with the Docker builder image, your system needs to provide Docker.

To create the chatterbox builder image:

cd scripts
./build.sh builder-create
$ docker images

REPOSITORY                              TAG
localhost/chatterbox-ubuntu-builder     latest

Using the image, it is possible to build the chatterbox binary for the target system:

cd scripts
./build.sh builder-build