/fluent-bit-packaging

Fluent Bit Linux Packaging environment using Docker

Primary LanguageDockerfile

Fluent Bit Packaging

This repository contains Docker files used to build Fluent Bit Linux packages for different distros, the following table describe the supported targets:

Distro Version / Code Name Arch Target Option
CentOS 7 amd64 centos/7
Debian 8 amd64 debian/jessie
Debian 9 amd64 debian/stretch
Ubuntu 16.04 / Xenial Xerus amd64 ubuntu/16.04
Ubuntu 18.04 / Bionic Beaver amd64 ubuntu/18.04
Raspbian 8 / Jessie armhf raspbian/jessie
Raspbian 9 / Stretch armhf raspbian/stretch

Usage

The build.sh script can be used to build packages for a specific target, the command understand the following format:

$ ./build.sh [-b BRANCH_NAME] [VERSION] TARGET

Details about the script parameters:

Name Description Example
VERSION Github Tag or version number 0.14.x
TARGET Target platform for the packages ubuntu/18.04

Optionally the script supports the option -b to specify a custom branch, this is useful to package and test master or specific branches.

Build examples

Package version 0.14.2 for Ubuntu 18.04:

$ ./build.sh 0.14.2 ubuntu/18.10

Package master branch for Ubuntu 18.04:

$ ./build.sh -b master ubuntu/18.04