FROM fluent/fluentd:v1.12-debian-1
USER root
COPY go-glitch /
RUN chmod 777 /go-glitch
COPY fluent.conf /fluentd/etc/
RUN chown -R fluent:fluent /fluentd && chmod -R 700 /fluentd/etc
USER fluent