-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
19 lines (14 loc) · 892 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
ARG grafana_version=latest
ARG grafana_image=grafana
FROM grafana/${grafana_image}:${grafana_version}
# Inject livereload script into grafana index.html
USER root
COPY latest-cost-plugin/grafana.ini /etc/grafana/grafana.ini
# Copy your plugin files into the Grafana plugins directory
COPY latest-cost-plugin/dfe-azurecostbackend-datasource /var/lib/grafana/plugins/dfe-azurecostbackend-datasource
COPY latest-cost-plugin/blackcowmoo-googleanalytics-datasource /var/lib/grafana/plugins/blackcowmoo-googleanalytics-datasource
COPY latest-cost-plugin/netsage-sankey-panel /var/lib/grafana/plugins/netsage-sankey-panel
# Set permissions for the plugin directory
RUN chown -R 472:472 /var/lib/grafana/plugins/dfe-azurecostbackend-datasource
RUN chown -R 472:472 /var/lib/grafana/plugins/blackcowmoo-googleanalytics-datasource
RUN chown -R 472:472 /var/lib/grafana/plugins/netsage-sankey-panel