Update docker/fluentd/Dockerfile

This commit is contained in:
colin 2024-04-16 19:29:10 +00:00
parent fcba4abdac
commit f5809e9b65
1 changed files with 8 additions and 3 deletions

View File

@ -1,8 +1,13 @@
FROM fluent/fluentd:v1.12-debian-1
ENV SENTRY_DSN="https://1be9f9ba4adf4278a664455a98d5d744@glitch.nixc.us/6"
USER root
RUN apt-get update && apt-get install -y netcat curl fluent-plugin-gelf
COPY go-glitch /
RUN chmod 777 /go-glitch && apt-get update && apt-get install -y netcat curl
COPY fluent.conf /fluentd/etc/
RUN chmod 777 /go-glitch
COPY fluent.conf /fluentd/etc/
RUN chown -R fluent:fluent /fluentd && chmod -R 700 /fluentd/etc
USER fluent
USER fluent