add missing dependency for geoip

This commit is contained in:
Pim Kunis 2023-08-24 14:56:06 +02:00
parent 130a70df1b
commit f645ba1835

View file

@ -1,6 +1,6 @@
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 apt update && apt install -y build-essential libgeoip-dev autoconf && 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