Sergio Slobodrian | ba49158 | 2017-04-24 15:49:00 -0400 | [diff] [blame] | 1 | # 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. |
Sergio Slobodrian | ba49158 | 2017-04-24 15:49:00 -0400 | [diff] [blame] | 14 | |
Sergio Slobodrian | 6f5fc4c | 2017-11-17 15:31:12 -0500 | [diff] [blame] | 15 | FROM kamon/grafana_graphite:3.0 |
Sergio Slobodrian | ba49158 | 2017-04-24 15:49:00 -0400 | [diff] [blame] | 16 | |
Kim Kempf | 01e23a8 | 2018-02-09 14:23:50 -0800 | [diff] [blame] | 17 | MAINTAINER Voltha Community <info@opennetworking.org> |
Sergio Slobodrian | ba49158 | 2017-04-24 15:49:00 -0400 | [diff] [blame] | 18 | |
| 19 | # Update the configuration so grafana runs at a different root |
| 20 | # everything else remains as defined in the kamon version |
| 21 | |
| 22 | RUN sed -i~ -e 's~;root_url.*~root_url = /grafana/~' /opt/grafana/conf/custom.ini |