Run the following commands from within the repo folder
docker build --no-cache -t fluent-bit-trusty:v1 .
docker run -it -v `(pwd)`:/debian fluent-bit-trusty:v1 /bin/bash
Run the following commands inside the docker container
cd debian
make download_package VERSION_NUMBER=<fluent-bit-version>
cd fluent-bit/build
cmake ..
make
make build VERSION_NUMBER=<fluent-bit-version>
This will output a deb package that can be used to install the files.