diff --git a/Dockerfile b/Dockerfile index fbe79f9..4792688 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,7 @@ FROM bitnami/fluentd:1.14.6-debian-11-r8 -RUN fluent-gem install 'fluent-plugin-parser-cri' +ENV PLUGINS "fluent-plugin-parser-cri fluent-plugin-multi-format-parser" + +RUN for PLUGIN in $PLUGINS; do \ + echo "=> Install $PLUGIN" && fluent-gem install $PLUGIN --no-document; \ + done