Skip to content

Instantly share code, notes, and snippets.

@tomykaira
Created June 5, 2018 18:35
Show Gist options
  • Save tomykaira/bbef1a04444e08c92b37942d7151cb72 to your computer and use it in GitHub Desktop.
Save tomykaira/bbef1a04444e08c92b37942d7151cb72 to your computer and use it in GitHub Desktop.
FROM fluent/fluentd
RUN apk add --update --virtual .build-deps \
sudo build-base ruby-dev \
&& sudo gem install --no-document \
"fluent-plugin-gcs:0.4.0.beta1" \
fluent-plugin-cloudwatch-put \
fluent-plugin-slack \
&& sudo gem sources --clear-all \
&& apk del .build-deps \
&& rm -rf /var/cache/apk/* \
/home/fluent/.gem/ruby/2.3.0/cache/*.gem
COPY out_cloudwatch_put.rb /usr/lib/ruby/gems/2.4.0/gems/fluent-plugin-cloudwatch-put-0.2.1/lib/fluent/plugin/out_cloudwatch_put.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment