6 lines
324 B
Docker
6 lines
324 B
Docker
FROM fluent/fluentd:v1.16-debian-1
|
|
USER root
|
|
# 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
|