Fix config file names inside fluentd-gcp image

This commit is contained in:
Mik Vyatskov 2016-11-07 16:10:20 +01:00
parent dbc4121e16
commit d478307106

View File

@ -53,8 +53,9 @@ RUN apt-get -qq update && \
# Copy the Fluentd configuration files for logging Docker container logs.
# Either configuration file can be used by specifying `-c <file>` as a command
# line argument.
COPY google-fluentd.conf /etc/td-agent/google-fluentd.conf
COPY google-fluentd-journal.conf /etc/td-agent/google-fluentd-journal.conf
RUN rm /etc/td-agent/td-agent.conf
COPY google-fluentd.conf /etc/td-agent/td-agent.conf
COPY google-fluentd-journal.conf /etc/td-agent/td-agent-journal.conf
# Start Fluentd to pick up our config that watches Docker container logs.
CMD /usr/sbin/td-agent "$FLUENTD_ARGS"
CMD /usr/sbin/td-agent $FLUENTD_ARGS