Skip to content

Commit 7ed3bab

Browse files
committed
chore(images/fluentd): remove /usr/include/fortify from base stage build, as it caused a break
Signed-off-by: Bence Csati <bence.csati@axoflow.com>
1 parent 4dca1b3 commit 7ed3bab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

images/fluentd/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ RUN addgroup -S -g 101 fluent && adduser -S -G fluent -u 100 fluent \
2222
tini libmaxminddb geoip \
2323
snappy libssl3 libcrypto3 \
2424
&& apk add --no-cache $BUILD_DEPS \
25+
# Remove fortify headers to fix PATH_MAX compilation errors in native gems
26+
&& rm -rf /usr/include/fortify \
2527
&& echo 'gem: --no-document' >> /etc/gemrc \
2628
&& gem install fluentd -v 1.19.0 \
2729
&& fluent-gem install specific_install -v 0.3.8 \
@@ -72,6 +74,7 @@ ADD ./outputs/Gemfile.lock /Gemfile.outputs.lock
7274
USER root
7375

7476
RUN apk add --no-cache $BUILD_DEPS \
77+
# Remove fortify headers to fix PATH_MAX compilation errors in native gems
7578
&& rm -rf /usr/include/fortify \
7679
&& touch /etc/gemrc \
7780
&& fluent-gem specific_install -l https://github.com/kube-logging/fluent-plugin-syslog_rfc5424.git --ref 4ab9f7df3757b0e31e4bc209acab05a518efdce3 \

0 commit comments

Comments
 (0)