blob: ed5417c207d1860244c9f9079fc0a3248a8ab7a8 [file] [log] [blame]
sathishgb5d1c182017-07-13 14:20:19 +05301# Copyright 2016 the original author or authors.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
sathishgb5d1c182017-07-13 14:20:19 +053014
15#DockerFile to Create Fluentd Forwards inside cord-voltha
Sergio Slobodrian6f5fc4c2017-11-17 15:31:12 -050016FROM fluent/fluentd:v0.14.23.rc1
David K. Bainbridgebba65ff2018-01-19 09:26:09 -080017MAINTAINER Voltha Community <info@opennetworking.org>
18
19RUN apk add --update bash
sathishgb5d1c182017-07-13 14:20:19 +053020COPY fluentd_config/fluent.conf /fluentd/etc/
Sergio Slobodrian8725ea82017-08-27 23:47:41 -040021COPY fluentd_config/fluent-agg.conf /fluentd/etc/
David K. Bainbridgebba65ff2018-01-19 09:26:09 -080022COPY docker/config/wait_for_it.sh /bin/wait_for_it.sh
23COPY fluentd_config/entrypoint.sh /bin/entrypoint.sh
24RUN chmod 755 /bin/wait_for_it.sh /bin/entrypoint.sh