Skip to content

Commit

Permalink
dockerfiles: Add FLB_ENFORCE_ALIGNMENT variable
Browse files Browse the repository at this point in the history
Signed-off-by: Shuichiro MAKIGAKI <[email protected]>
  • Loading branch information
shuichiro-makigaki authored Aug 16, 2024
1 parent 1a19703 commit b5a18bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ ENV FLB_NIGHTLY_BUILD=$FLB_NIGHTLY_BUILD
ARG FLB_CHUNK_TRACE=On
ENV FLB_CHUNK_TRACE=${FLB_CHUNK_TRACE}

ARG FLB_ENFORCE_ALIGNMENT=Off
ENV FLB_ENFORCE_ALIGNMENT=${FLB_ENFORCE_ALIGNMENT}

RUN mkdir -p /fluent-bit/bin /fluent-bit/etc /fluent-bit/log

ENV DEBIAN_FRONTEND noninteractive
Expand Down Expand Up @@ -76,6 +79,7 @@ RUN cmake -DFLB_RELEASE=On \
-DFLB_NIGHTLY_BUILD="$FLB_NIGHTLY_BUILD" \
-DFLB_LOG_NO_CONTROL_CHARS=On \
-DFLB_CHUNK_TRACE="$FLB_CHUNK_TRACE" \
-DFLB_ENFORCE_ALIGNMENT="$FLB_ENFORCE_ALIGNMENT \
..
RUN make -j "$(getconf _NPROCESSORS_ONLN)"
Expand Down

0 comments on commit b5a18bf

Please sign in to comment.