# fluentd/Dockerfile FROM bitnami/fluentd:1.16.1-debian-11-r13 USER root RUN ["gem", "sources", "--remove", "https://rubygems.org/"] RUN ["gem", "sources", "--add", "https://gems.ruby-china.com/"] RUN ["gem", "sources", "-u"] RUN ["gem", "install", "fluent-plugin-elasticsearch", "--version", "5.3.0"] RUN ["gem", "install", "fluent-plugin-typecast", "--version", "0.2.0"]