Skip to content

Commit

Permalink
Install which to build librdkafka 1.9.0 or later
Browse files Browse the repository at this point in the history
Install which to build librdkafka 1.9.0 or later

See confluentinc/librdkafka#3974

Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
  • Loading branch information
kenhys committed Jul 14, 2023
1 parent 14afe00 commit 3c9711f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion fluent-package/yum/almalinux-9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ RUN \
zlib-devel \
rpmlint \
cmake \
libarchive && \
libarchive \
# install which for building librdkafka 1.9.0 or later
which && \
# raise IPv4 priority
echo "precedence ::ffff:0:0/96 100" > /etc/gai.conf && \
# enable multiplatform feature
Expand Down
4 changes: 3 additions & 1 deletion fluent-package/yum/amazonlinux-2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ RUN \
tar \
zlib-devel \
rpmlint \
cmake3 && \
cmake3 \
# install which for building librdkafka 1.9.0 or later
which && \
amazon-linux-extras install ruby2.6 && \
# raise IPv4 priority
echo "precedence ::ffff:0:0/96 100" > /etc/gai.conf && \
Expand Down
4 changes: 3 additions & 1 deletion fluent-package/yum/rockylinux-8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ RUN \
zlib-devel \
rpmlint \
cmake \
libarchive && \
libarchive \
# install which for building librdkafka 1.9.0 or later
which && \
# raise IPv4 priority
echo "precedence ::ffff:0:0/96 100" > /etc/gai.conf && \
# enable multiplatform feature
Expand Down

0 comments on commit 3c9711f

Please sign in to comment.