* Ensure bitnami/grafana folder is created with usable permissions
This follows the examples of other images.
Without this folder being created, mounting user init scripts leads
to an error on startup:
"mkdir: cannot create directory '/bitnami': Permission denied"
fixes#52238
Signed-off-by: Ben Foster <bpfoster@gmail.com>
* Adjust volume dir variable name and use grafana_env_var_value to reference it, per PR feedback
Signed-off-by: Ben Foster <bpfoster@gmail.com>
---------
Signed-off-by: Ben Foster <bpfoster@gmail.com>
Replace deprecated grafana command usage
Replaces 'grafana-cli' and 'grafana-server' with
'grafana cli' and 'grafana server', respectively,
per the warnings logged in the image during build and run.
fixes#52256
Signed-off-by: Ben Foster <bpfoster@gmail.com>
* feat: handle space separated GF_INSTALL_PLUGINS
Signed-off-by: Tim Birkett <109664963+portswigger-tim@users.noreply.github.com>
* Doublequote to prevent globbing (SC2086)
Signed-off-by: Miguel Ruiz <miruiz@vmware.com>
Signed-off-by: Miguel Ruiz <miruiz@vmware.com>
---------
Signed-off-by: Tim Birkett <109664963+portswigger-tim@users.noreply.github.com>
Signed-off-by: Miguel Ruiz <miruiz@vmware.com>
Co-authored-by: Miguel Ruiz <miruiz@vmware.com>