-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
21 lines (21 loc) · 929 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM docker.io/bitnami/fluentd:1.17.0-debian-12-r4
ARG ES_VERSION=7.13.3
USER 0
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN gem update --system 3.5.14 \
&& gem uninstall elasticsearch --force -x \
&& gem uninstall elasticsearch-api --force -x\
&& gem uninstall elastic-transport --force -x \
&& gem uninstall elasticsearch-xpack --force -x \
&& gem uninstall fluent-plugin-elasticsearch --force -x \
&& gem uninstall json --force -x
RUN gem install elasticsearch -v ${ES_VERSION} \
&& gem install elasticsearch-api -v ${ES_VERSION} \
&& gem install elasticsearch-transport -v ${ES_VERSION} \
&& gem install elasticsearch-xpack -v ${ES_VERSION} \
&& gem install fluent-plugin-anonymizer -v 1.0.0 \
&& gem install fluent-plugin-elasticsearch -v 4.3.3 \
&& gem install fluent-plugin-rewrite-tag-filter \
&& gem install fluent-plugin-multi-format-parser
RUN gem list | grep -E 'elastic|json'
USER 1001