Skip to content

Latest commit

 

History

History
 
 

packaging

Fluent Bit Packaging

This directory 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
AmazonLinux 2 x86_64 amazonlinux/2
AmazonLinux 2 arm64v8 amazonlinux/2.arm64v8
CentOS 8 x86_64 centos/8
CentOS 8 arm64v8 centos/8.arm64v8
CentOS 7 x86_64 centos/7
CentOS 7 arm64v8 centos/7.arm64v8
Debian 11 x86_64 debian/bullseye
Debian 11 arm64v8 debian/bullseye.arm64v8
Debian 10 x86_64 debian/buster
Debian 10 arm64v8 debian/buster.arm64v8
Ubuntu 22.04 / Jammy Jellyfish x86_64 ubuntu/22.04
Ubuntu 22.04 / Jammy Jellyfish arm64v8 ubuntu/22.04.arm64v8
Ubuntu 20.04 / Focal Fossa x86_64 ubuntu/20.04
Ubuntu 20.04 / Focal Fossa arm64v8 ubuntu/20.04.arm64v8
Ubuntu 18.04 / Bionic Beaver x86_64 ubuntu/18.04
Ubuntu 18.04 / Bionic Beaver arm64v8 ubuntu/18.04.arm64v8
Ubuntu 16.04 / Xenial Xerus x86_64 ubuntu/16.04
Raspbian 11 / Bullseye arm32v7 raspbian/bullseye
Raspbian 10 / Buster arm32v7 raspbian/buster

Usage

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

$ ./build.sh -v VERSION -d DISTRO [-b BRANCH_NAME] [-t TARBALL]

Details about the script parameters:

Name Description Example
VERSION Github Tag or version number 1.3.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 1.3.1 for Ubuntu 18.04:

$ ./build.sh -v 1.3.1 -d ubuntu/18.04