13 lines
536 B
Docker
13 lines
536 B
Docker
|
|
FROM fluent/fluentd:v1.12-debian-1
|
|
ENV SENTRY_DSN="https://b4a0501ad2264d5b84054f8222628adc@glitch.nixc.us/5"
|
|
USER root
|
|
RUN apt-get update && apt-get install -y netcat curl
|
|
RUN curl -sL https://sentry.io/get-cli/ | bash
|
|
RUN fluent-gem install fluent-plugin-out-http --no-document && \
|
|
fluent-gem install fluent-plugin-record-reformer --no-document && \
|
|
fluent-gem install fluent-plugin-rewrite-tag-filter --no-document
|
|
COPY fluent.conf /fluentd/etc/
|
|
RUN chown -R fluent:fluent /fluentd && chmod -R 700 /fluentd/etc
|
|
USER fluent
|