File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 7171CMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX:-/ opt/ fluent-bit/ }
7272# This is required to ensure we set the defaults to off for 1.9 builds
7373FLB_TD=${FLB_TD:- Off}
74+ # This is provided for simplifying the build pipeline
75+ FLB_UNICODE_ENCODER=${FLB_UNICODE_ENCODER:- On}
76+
77+ if [ " ${FLB_DISTRO} " = " centos/6" ] || [ " ${FLB_DISTRO} " = " centos/7" ]; then
78+ FLB_UNICODE_ENCODER=Off
79+ fi
7480
7581echo " IMAGE_CONTEXT_DIR => $IMAGE_CONTEXT_DIR "
7682echo " CMAKE_INSTALL_PREFIX => $CMAKE_INSTALL_PREFIX "
7783echo " FLB_NIGHTLY_BUILD => $FLB_NIGHTLY_BUILD "
7884echo " FLB_JEMALLOC => $FLB_JEMALLOC "
85+ echo " FLB_UNICODE_ENCODER => $FLB_UNICODE_ENCODER "
7986
8087if [ " ${DOCKER} " = " docker" ]; then
8188 export DOCKER_BUILDKIT=1
@@ -90,6 +97,7 @@ if ! ${DOCKER} build \
9097 --build-arg FLB_NIGHTLY_BUILD=" $FLB_NIGHTLY_BUILD " \
9198 --build-arg FLB_JEMALLOC=" $FLB_JEMALLOC " \
9299 --build-arg FLB_TD=" $FLB_TD " \
100+ --build-arg FLB_UNICODE_ENCODER=" $FLB_UNICODE_ENCODER " \
93101 $FLB_ARG \
94102 -t " $MAIN_IMAGE " \
95103 -f " $IMAGE_CONTEXT_DIR /Dockerfile" \
You can’t perform that action at this time.
0 commit comments