witoff / fluent-bit-packaging

Fluent Bit Linux Packaging environment using Docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.10 / Yakkety Yak amd64 ubuntu/16.10
Ubuntu 16.04 / Xenial Xerus amd64 ubuntu/16.04
Raspbian 8.x / Jessie armhf raspbian/jessie

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.13.7
TARGET Target platform for the packages ubuntu/16.10

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.11.1 for Ubuntu 16.10:

$ ./build.sh 0.11.1 ubuntu/16.10

Package master branch for Ubuntu 16.10:

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

About

Fluent Bit Linux Packaging environment using Docker


Languages

Language:Dockerfile 77.7%Language:Shell 22.3%