Update docker/fluentd/Dockerfile

This commit is contained in:
colin 2024-04-16 16:35:31 +00:00
parent 81e3b4743f
commit 456e9e2f0d
1 changed files with 0 additions and 4 deletions

View File

@ -1,13 +1,9 @@
FROM fluent/fluentd:v1.12-debian-1
ENV SENTRY_DSN="https://1be9f9ba4adf4278a664455a98d5d744@glitch.nixc.us/6"
ENV SENTRY_LOG_LEVEL=debug
USER root
COPY go-glitch /usr/local/bin/
RUN chmod +x /usr/local/bin/go-glitch && apt-get update && apt-get install -y netcat curl
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