blob: c25c5ba71e9b3e7d8c0d9f0f62bbf35b5aa0fdfe [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
David K. Bainbridge737b74f2018-01-22 12:57:52 -080016FROM fluent/fluentd:v0.12.42
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