Created
July 11, 2020 10:41
-
-
Save wshihadeh/8e2a2fad7ae8bc62d32b5efeebcacd38 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM fluent/fluentd:v1.11-1 | |
MAINTAINER Al-waleed Shihadeh <[email protected]> | |
COPY ./*.conf /fluentd/etc/ | |
COPY entrypoint.sh /bin/ | |
USER root | |
RUN apk add --update --virtual .build-deps \ | |
sudo build-base ruby-dev \ | |
&& sudo gem install \ | |
fluent-plugin-elasticsearch \ | |
fluent-plugin-filter-docker_metadata \ | |
fluent-plugin-filter-kv-parser \ | |
&& sudo gem sources --clear-all \ | |
&& apk del .build-deps \ | |
&& rm -rf /var/cache/apk/* \ | |
/home/fluent/.gem/ruby/2.3.0/cache/*.gem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment