Back to Fluent Bit

Fluent Bit Packaging

packaging/README.md

5.0.45.4 KB
Original Source

Fluent Bit Packaging

This directory contains files to support building and releasing Fluent Bit.

For PRs, add the ok-package-test label to trigger an automated build of all supported Linux, macOS, Windows and container image targets to verify a PR correctly builds for all supported platforms. This can take some time to complete so is only triggered via the label on-demand.

Linux

The distros directory contains OCI container definitions used to build Fluent Bit Linux packages for different distros, the following table describe the supported targets:

DistroVersion / Code NameArchTarget Option
AlmaLinux10x86_64almalinux/10
AlmaLinux10arm64v8almalinux/10.arm64v8
AlmaLinux9x86_64almalinux/9
AlmaLinux9arm64v8almalinux/9.arm64v8
AlmaLinux8x86_64almalinux/8
AlmaLinux8arm64v8almalinux/8.arm64v8
AmazonLinux2023x86_64amazonlinux/2023
AmazonLinux2023arm64v8amazonlinux/2023.arm64v8
AmazonLinux2x86_64amazonlinux/2
AmazonLinux2arm64v8amazonlinux/2.arm64v8
CentOS Stream10x86_64centos/10
CentOS Stream10arm64v8centos/10.arm64v8
CentOS Stream9x86_64centos/9
CentOS Stream9arm64v8centos/9.arm64v8
CentOS8x86_64centos/8
CentOS8arm64v8centos/8.arm64v8
CentOS7x86_64centos/7
CentOS7arm64v8centos/7.arm64v8
Debian13x86_64debian/trixie
Debian13arm64v8debian/trixie.arm64v8
Debian12x86_64debian/bookworm
Debian12arm64v8debian/bookworm.arm64v8
Debian11x86_64debian/bullseye
Debian11arm64v8debian/bullseye.arm64v8
Debian10x86_64debian/buster
Debian10arm64v8debian/buster.arm64v8
Ubuntu24.04 / Noble Numbatx86_64ubuntu/24.04
Ubuntu24.04 / Noble Numbatarm64v8ubuntu/24.04.arm64v8
Ubuntu22.04 / Jammy Jellyfishx86_64ubuntu/22.04
Ubuntu22.04 / Jammy Jellyfisharm64v8ubuntu/22.04.arm64v8
Ubuntu20.04 / Focal Fossax86_64ubuntu/20.04
Ubuntu20.04 / Focal Fossaarm64v8ubuntu/20.04.arm64v8
Ubuntu18.04 / Bionic Beaverx86_64ubuntu/18.04
Ubuntu18.04 / Bionic Beaverarm64v8ubuntu/18.04.arm64v8
Ubuntu16.04 / Xenial Xerusx86_64ubuntu/16.04
Raspbian12 / Bookwormarm32v7raspbian/bookworm
Raspbian11 / Bullseyearm32v7raspbian/bullseye
Raspbian10 / Busterarm32v7raspbian/buster
Rocky Linux10x86_64rockylinux/10
Rocky Linux10arm64v8rockylinux/10.arm64v8
Rocky Linux9x86_64rockylinux/9
Rocky Linux9arm64v8rockylinux/9.arm64v8
Rocky Linux8x86_64rockylinux/8
Rocky Linux8arm64v8rockylinux/8.arm64v8

These container images are intended to be built from the root of this repo to build the locally checked out/updated version of the source easily for any target.

Usage

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

shell
./build.sh -d DISTRO

Replace DISTRO with the Target option column above.

All Linux builds happen in a container so can be run on any supported platform with QEMU installed and a container runtime.

Windows

Windows builds are carried out by the dedicated workflow in CI. This builds using the standard CMake process on a dedicated Windows runner within Github actions. The steps involved and additional requirements can all be found there.

macOS

Windows builds are carried out by the dedicated workflow in CI. This builds using the standard CMake process on a dedicated macOS runner within Github actions. The steps involved and additional requirements can all be found there.