diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 12:08:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 12:08:18 +0000 |
commit | 5da14042f70711ea5cf66e034699730335462f66 (patch) | |
tree | 0f6354ccac934ed87a2d555f45be4c831cf92f4a /src/fluent-bit/dockerfiles/Dockerfile.centos7 | |
parent | Releasing debian version 1.44.3-2. (diff) | |
download | netdata-5da14042f70711ea5cf66e034699730335462f66.tar.xz netdata-5da14042f70711ea5cf66e034699730335462f66.zip |
Merging upstream version 1.45.3+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/fluent-bit/dockerfiles/Dockerfile.centos7')
-rw-r--r-- | src/fluent-bit/dockerfiles/Dockerfile.centos7 | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/fluent-bit/dockerfiles/Dockerfile.centos7 b/src/fluent-bit/dockerfiles/Dockerfile.centos7 new file mode 100644 index 000000000..daeb49a97 --- /dev/null +++ b/src/fluent-bit/dockerfiles/Dockerfile.centos7 @@ -0,0 +1,28 @@ +# This container image is primarily used to test compilation works for CentOS 7, it is +# not intended for production usage. +# Based on https://github.com/fluent/fluent-bit-packaging/tree/master/distros/centos/7 +FROM centos:7 + +# hadolint ignore=DL3032, DL3033 +RUN yum -y update && \ + yum install -y rpm-build curl ca-certificates gcc gcc-c++ cmake make bash \ + wget unzip systemd-devel wget flex bison \ + cyrus-sasl-lib cyrus-sasl-devel openssl openss-libs openssl-devel \ + postgresql-libs postgresql-devel postgresql-server postgresql libyaml-devel && \ + wget -q http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm && \ + rpm -ivh epel-release-latest-7.noarch.rpm && \ + yum install -y cmake3 + +COPY . /src/ +WORKDIR /src/build + +RUN cmake3 -DCMAKE_INSTALL_PREFIX=/opt/fluent-bit/ -DCMAKE_INSTALL_SYSCONFDIR=/etc/ \ + -DFLB_RELEASE=On -DFLB_TRACE=On \ + -DFLB_TESTS_INTERNAL=On -DFLB_TESTS_RUNTIME=On \ + -DFLB_SQLDB=On -DFLB_HTTP_SERVER=On \ + -DFLB_OUT_KAFKA=On \ + -DFLB_JEMALLOC=On \ + -DFLB_CHUNK_TRACE=On \ + -DFLB_OUT_PGSQL=On ../ + +RUN make -j "$(getconf _NPROCESSORS_ONLN)" |