install geoip plugin
This commit is contained in:
parent
0b05942b6f
commit
130a70df1b
1 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,6 @@
|
||||||
FROM fluent/fluentd:v1.16-debian-1
|
FROM fluent/fluentd:v1.16-debian-1
|
||||||
USER root
|
USER root
|
||||||
RUN ["gem", "install", "fluent-plugin-elasticsearch", "fluent-plugin-rewrite-tag-filter", "--no-document"]
|
# Prerequisites for GeoIP2
|
||||||
|
RUN apt update && apt install -y build-essential libgeoip-dev && apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||||
|
RUN ["gem", "install", "fluent-plugin-elasticsearch", "fluent-plugin-rewrite-tag-filter", "fluent-plugin-geoip", "--no-document"]
|
||||||
USER fluent
|
USER fluent
|
||||||
|
|
Reference in a new issue