diff --git a/org/alt/grafana/Dockerfile.template b/org/alt/grafana/Dockerfile.template index 0a31101..542f4dc 100644 --- a/org/alt/grafana/Dockerfile.template +++ b/org/alt/grafana/Dockerfile.template @@ -8,14 +8,7 @@ LABEL org.opencontainers.image.source="https://github.com/grafana/grafana" LABEL org.opencontainers.image.licenses="AGPL-3.0-only AND Apache-2.0" LABEL org.opencontainers.image.vendor="ALT Linux Team" -{{ install_packages( -"grafana", -#"grafana-dashboards-ceph", -) }} - -#RUN echo $'[dashbords.json] \n\ - # enabled = true \n\ - # path = /var/lib/grafana-dashboards-ceph' > /etc/grafana/grafana.ini +{{ install_packages("grafana") }} USER grafana EXPOSE 3000 @@ -26,4 +19,4 @@ ENV GF_AUTH_ANONYMOUS_ENABLED=true ENV GF_AUTH_ANONYMOUS_ORG_ROLE=Admin ENTRYPOINT [ "/usr/bin/grafana" ] -CMD [ "server", "--config=/etc/grafana/grafana.ini", "--homepath=/usr/share/grafana", "--packaging=docker", "-configOverrides='cfg:default.paths.provisioning=/etc/grafana/provisioning cfg:default.paths.data=/var/lib/gra fana cfg:default.paths.logs=/var/log/grafana cfg:default.paths.plugins=/var/lib/grafana/plugins'" ] +CMD [ "server", "--config=/etc/grafana/grafana.ini", "--homepath=/usr/share/grafana", "--packaging=docker", "-configOverrides='cfg:default.paths.provisioning=/etc/grafana/provisioning cfg:default.paths.data=/var/lib/grafana cfg:default.paths.logs=/var/log/grafana cfg:default.paths.plugins=/var/lib/grafana/plugins'" ]