-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
29 lines (27 loc) · 1.15 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM fluent/fluentd:v1.12
USER root
# below RUN includes plugin as examples elasticsearch is not required
# you may customize including plugins as you wish
RUN apk add --update krb5-libs snappy && \
apk add --update --virtual .build-deps libffi-dev \
sudo build-base ruby-dev snappy-dev build-base libexecinfo automake autoconf libtool && \
sudo gem install fluent-plugin-kafka \
fluent-plugin-influxdb \
fluent-plugin-rewrite-tag-filter \
fluent-plugin-record-modifier \
fluent-plugin-juniper-telemetry \
fluent-plugin-snmp \
elasticsearch:7.6.0 \
fluent-plugin-elasticsearch \
fluent-plugin-retag \
fluent-plugin-datadog \
bigdecimal \
zookeeper \
snappy \
extlz4 \
fluent-plugin-gelf-hs && \
sudo gem sources --clear-all && \
apk del .build-deps && \
rm -rf /var/cache/apk/* \
/usr/lib/ruby/gems/2.5.0/cache
ADD plugins /fluentd/plugins