Skip to content
Closed
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
11 changes: 11 additions & 0 deletions dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,16 @@ RUN apt-get update && \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
lsb-release \
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Fix line continuation in package install command

The backslash on lsb-release \ includes a trailing space, so the shell does not continue this apt-get install line. In Docker build context this splits the command stream and makes the next line execute as bare wget (no URL), which exits non-zero and fails the builder-base image build before Arrow/Parquet dependencies are installed.

Useful? React with 👍 / 👎.

wget \
&& wget https://packages.apache.org/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb \
&& apt-get install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb \
&& rm -rf ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb \
&& apt-get update && apt-get install -y -V libarrow-glib-dev libparquet-glib-dev


# Must be run from root of repo
WORKDIR /src/fluent-bit/
COPY . ./
Expand Down Expand Up @@ -93,6 +103,7 @@ RUN [ -n "${WAMR_BUILD_TARGET:-}" ] && EXTRA_CMAKE_FLAGS="$EXTRA_CMAKE_FLAGS -DW
-DFLB_LOG_NO_CONTROL_CHARS=On \
-DFLB_CHUNK_TRACE="$FLB_CHUNK_TRACE" \
-DFLB_JEMALLOC_OPTIONS="$FLB_JEMALLOC_OPTIONS" \
-DFLB_ARROW=On \
$EXTRA_CMAKE_FLAGS \
..

Expand Down
Loading