Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

centos7: disable SQL processor to resolve build failures #8608

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions dockerfiles/Dockerfile.centos7
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ RUN cmake3 -DCMAKE_INSTALL_PREFIX=/opt/fluent-bit/ -DCMAKE_INSTALL_SYSCONFDIR=/e
-DFLB_OUT_KAFKA=On \
-DFLB_JEMALLOC=On \
-DFLB_CHUNK_TRACE=On \
-DFLB_PROCESSOR_SQL=Off \
-DFLB_OUT_PGSQL=On ../

RUN make -j "$(getconf _NPROCESSORS_ONLN)"
17 changes: 17 additions & 0 deletions packaging/distros/centos/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ RUN yum -y update && \

ARG FLB_OUT_PGSQL=On
ENV FLB_OUT_PGSQL=$FLB_OUT_PGSQL
# Fails on CentOS 7: https://github.com/fluent/fluent-bit/issues/8606
ARG FLB_PROCESSOR_SQL=Off
ENV FLB_PROCESSOR_SQL=$FLB_PROCESSOR_SQL

# centos/7.arm64v8 base image
FROM arm64v8/centos:7 as centos-7.arm64v8-base
Expand All @@ -45,6 +48,9 @@ RUN yum -y update && \
# There are no postgresql libraries available for this target
ARG FLB_OUT_PGSQL=Off
ENV FLB_OUT_PGSQL=$FLB_OUT_PGSQL
# Fails on CentOS 7: https://github.com/fluent/fluent-bit/issues/8606
ARG FLB_PROCESSOR_SQL=Off
ENV FLB_PROCESSOR_SQL=$FLB_PROCESSOR_SQL

# Need larger page size
ARG FLB_JEMALLOC_OPTIONS="--with-lg-page=16 --with-lg-quantum=3"
Expand All @@ -71,6 +77,9 @@ RUN yum -y update && \

ARG FLB_OUT_PGSQL=On
ENV FLB_OUT_PGSQL=$FLB_OUT_PGSQL
# Fails on CentOS 8: https://github.com/fluent/fluent-bit/issues/8606
ARG FLB_PROCESSOR_SQL=Off
ENV FLB_PROCESSOR_SQL=$FLB_PROCESSOR_SQL

# centos/8.arm64v8 base image
FROM arm64v8/centos:8 as centos-8.arm64v8-base
Expand All @@ -95,6 +104,9 @@ RUN yum -y update && \

ARG FLB_OUT_PGSQL=On
ENV FLB_OUT_PGSQL=$FLB_OUT_PGSQL
# Fails on CentOS 8: https://github.com/fluent/fluent-bit/issues/8606
ARG FLB_PROCESSOR_SQL=Off
ENV FLB_PROCESSOR_SQL=$FLB_PROCESSOR_SQL

# Need larger page size
ARG FLB_JEMALLOC_OPTIONS="--with-lg-page=16 --with-lg-quantum=3"
Expand All @@ -114,6 +126,8 @@ RUN dnf -y install 'dnf-command(config-manager)' && dnf -y config-manager --set-

ARG FLB_OUT_PGSQL=On
ENV FLB_OUT_PGSQL=$FLB_OUT_PGSQL
ARG FLB_PROCESSOR_SQL=On
ENV FLB_PROCESSOR_SQL=$FLB_PROCESSOR_SQL

# hadolint ignore=DL3029
FROM --platform=arm64 quay.io/centos/centos:stream9 as centos-9.arm64v8-base
Expand All @@ -132,6 +146,8 @@ RUN dnf -y install 'dnf-command(config-manager)' && dnf -y config-manager --set-

ARG FLB_OUT_PGSQL=On
ENV FLB_OUT_PGSQL=$FLB_OUT_PGSQL
ARG FLB_PROCESSOR_SQL=On
ENV FLB_PROCESSOR_SQL=$FLB_PROCESSOR_SQL

# Need larger page size
ARG FLB_JEMALLOC_OPTIONS="--with-lg-page=16 --with-lg-quantum=3"
Expand Down Expand Up @@ -175,6 +191,7 @@ RUN cmake3 -DCMAKE_INSTALL_PREFIX="$CMAKE_INSTALL_PREFIX" \
-DFLB_JEMALLOC_OPTIONS="$FLB_JEMALLOC_OPTIONS" \
-DFLB_JEMALLOC="${FLB_JEMALLOC}" \
-DFLB_CHUNK_TRACE="${FLB_CHUNK_TRACE}" \
-DFLB_PROCESSOR_SQL="${FLB_PROCESSOR_SQL}" \
../

VOLUME [ "/output" ]
Expand Down
Loading