Created
August 25, 2018 13:43
-
-
Save nalanj/c3f5fd8fca25d10633c09461ba42c470 to your computer and use it in GitHub Desktop.
This file contains 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:onbuild | |
# below RUN includes plugin as examples elasticsearch is not required | |
# you may customize including plugins as you wish | |
RUN apk add --update --virtual .build-deps \ | |
sudo build-base ruby-dev \ | |
&& sudo gem install \ | |
fluent-plugin-elasticsearch \ | |
&& sudo gem sources --clear-all \ | |
&& apk del .build-deps \ | |
&& rm -rf /var/cache/apk/* \ | |
/home/fluent/.gem/ruby/2.4.0/cache/*.gem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment