From acf54905eeeb92cd692b006c1819fc3ecd623361 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agn=C3=A8s=20Toulet?= <35176601+AgnesToulet@users.noreply.github.com> Date: Wed, 7 Jul 2021 18:05:55 +0200 Subject: [PATCH] Image Renderer: update env variable in docs and custom Docker files (#36501) * Docs: fix env variable for grafana-image-renderer plugin * Fix image renderer env variable in custom Docker files --- docs/sources/administration/image_rendering.md | 2 +- packaging/docker/custom/Dockerfile | 2 +- packaging/docker/custom/ubuntu.Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/sources/administration/image_rendering.md b/docs/sources/administration/image_rendering.md index c50d21e48ca..a723297a5e7 100755 --- a/docs/sources/administration/image_rendering.md +++ b/docs/sources/administration/image_rendering.md @@ -208,5 +208,5 @@ instead of the pre-packaged version of Chromium. To override the path to the Chrome/Chromium executable, set an environment variable and make sure that it's available for the Grafana process. For example: ```bash -export GF_RENDERER_PLUGIN_CHROME_BIN="/usr/bin/chromium-browser" +export GF_PLUGIN_RENDERING_CHROME_BIN="/usr/bin/chromium-browser" ``` diff --git a/packaging/docker/custom/Dockerfile b/packaging/docker/custom/Dockerfile index dc240a1619e..0bfed47c44c 100644 --- a/packaging/docker/custom/Dockerfile +++ b/packaging/docker/custom/Dockerfile @@ -24,7 +24,7 @@ fi USER grafana -ENV GF_RENDERER_PLUGIN_CHROME_BIN="/usr/bin/chromium-browser" +ENV GF_PLUGIN_RENDERING_CHROME_BIN="/usr/bin/chromium-browser" RUN if [ $GF_INSTALL_IMAGE_RENDERER_PLUGIN = "true" ]; then \ grafana-cli \ diff --git a/packaging/docker/custom/ubuntu.Dockerfile b/packaging/docker/custom/ubuntu.Dockerfile index 392d0227f3a..470ec50e6ab 100644 --- a/packaging/docker/custom/ubuntu.Dockerfile +++ b/packaging/docker/custom/ubuntu.Dockerfile @@ -28,7 +28,7 @@ fi USER grafana -ENV GF_RENDERER_PLUGIN_CHROME_BIN="/usr/bin/google-chrome" +ENV GF_PLUGIN_RENDERING_CHROME_BIN="/usr/bin/google-chrome" RUN if [ $GF_INSTALL_IMAGE_RENDERER_PLUGIN = "true" ]; then \ grafana-cli \