-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
19 lines (17 loc) · 743 Bytes
/
Dockerfile
File metadata and controls
19 lines (17 loc) · 743 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM fluent/fluentd
# Installs github.com/awslabs/aws-fluent-plugin-kinesis
# Installs curl for container health check
#
# Other plugins which may be useful:
# For CloudWatch Logs support: github.com/fluent-plugins-nursery/fluent-plugin-cloudwatch-logs
# For multiline logging support: github.com/fluent-plugins-nursery/fluent-plugin-concat
# For parsing docker container log lines that are JSON: https://github.com/edsiper/fluent-plugin-docker
RUN apk add --update --virtual .build-deps \
sudo build-base ruby-dev \
&& sudo gem install \
fluent-plugin-kinesis \
&& sudo gem sources --clear-all \
&& apk add curl \
&& apk del .build-deps \
&& rm -rf /var/cache/apk/* \
/home/fluent/.gem/ruby/2.4.0/cache/*.gem