mirror of
https://github.com/bitnami/containers.git
synced 2026-04-02 23:38:16 +08:00
[bitnami/grafana-image-renderer] Release 5.0.5-debian-12-r0 (#88053)
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
@@ -7,13 +7,13 @@ ARG DOWNLOADS_URL="downloads.bitnami.com/files/stacksmith"
|
||||
ARG TARGETARCH
|
||||
|
||||
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
|
||||
org.opencontainers.image.created="2025-11-03T15:40:57Z" \
|
||||
org.opencontainers.image.created="2025-11-04T10:22:03Z" \
|
||||
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
|
||||
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/grafana-image-renderer/README.md" \
|
||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/grafana-image-renderer" \
|
||||
org.opencontainers.image.title="grafana-image-renderer" \
|
||||
org.opencontainers.image.vendor="Broadcom, Inc." \
|
||||
org.opencontainers.image.version="5.0.3"
|
||||
org.opencontainers.image.version="5.0.5"
|
||||
|
||||
ENV HOME="/" \
|
||||
OS_ARCH="${TARGETARCH:-amd64}" \
|
||||
@@ -29,7 +29,7 @@ RUN --mount=type=secret,id=downloads_url,env=SECRET_DOWNLOADS_URL \
|
||||
mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \
|
||||
COMPONENTS=( \
|
||||
"python-3.14.0-5-linux-${OS_ARCH}-debian-12" \
|
||||
"grafana-image-renderer-5.0.3-0-linux-${OS_ARCH}-debian-12" \
|
||||
"grafana-image-renderer-5.0.5-0-linux-${OS_ARCH}-debian-12" \
|
||||
) ; \
|
||||
for COMPONENT in "${COMPONENTS[@]}"; do \
|
||||
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
|
||||
@@ -46,7 +46,7 @@ RUN chmod g+rwX /opt/bitnami
|
||||
RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true
|
||||
RUN uninstall_packages curl
|
||||
|
||||
ENV APP_VERSION="5.0.3" \
|
||||
ENV APP_VERSION="5.0.5" \
|
||||
BITNAMI_APP_NAME="grafana-image-renderer" \
|
||||
HTTP_HOST="0.0.0.0" \
|
||||
HTTP_PORT="8080" \
|
||||
|
||||
@@ -116,59 +116,22 @@ You can customize Grafana Image Renderer settings by replacing the default confi
|
||||
|
||||
#### Customizable environment variables
|
||||
|
||||
| Name | Description | Default Value |
|
||||
|-----------------------------------------|------------------------------------------------------|---------------|
|
||||
| `GRAFANA_IMAGE_RENDERER_LISTEN_ADDRESS` | Grafana Image Renderer listen address | `127.0.0.1` |
|
||||
| `GRAFANA_IMAGE_RENDERER_PORT_NUMBER` | Grafana Image Renderer port number | `8080` |
|
||||
| `GRAFANA_IMAGE_RENDERER_ENABLE_METRICS` | Whether to enable metrics for Grafana Image Renderer | `yes` |
|
||||
| Name | Description | Default Value |
|
||||
|-----------------------------------------|---------------------------------------|---------------|
|
||||
| `GRAFANA_IMAGE_RENDERER_LISTEN_ADDRESS` | Grafana Image Renderer listen address | `127.0.0.1` |
|
||||
| `GRAFANA_IMAGE_RENDERER_PORT_NUMBER` | Grafana Image Renderer port number | `8080` |
|
||||
|
||||
#### Read-only environment variables
|
||||
|
||||
| Name | Description | Value |
|
||||
|---------------------------------------|--------------------------------------------------------------|-------------------------------------------------------|
|
||||
| `GRAFANA_IMAGE_RENDERER_BASE_DIR` | Path to the Grafana Image Renderer installation directory | `${BITNAMI_ROOT_DIR}/grafana-image-renderer` |
|
||||
| `GRAFANA_IMAGE_RENDERER_TMP_DIR` | Grafana Image Renderer directory for temporary runtime files | `${GRAFANA_IMAGE_RENDERER_BASE_DIR}/tmp` |
|
||||
| `GRAFANA_IMAGE_RENDERER_LOGS_DIR` | Grafana Image Renderer directory for log files | `${GRAFANA_IMAGE_RENDERER_BASE_DIR}/logs` |
|
||||
| `GRAFANA_IMAGE_RENDERER_PID_FILE` | Grafana Image Renderer PID file | `${GRAFANA_IMAGE_RENDERER_TMP_DIR}/renderer.pid` |
|
||||
| `GRAFANA_IMAGE_RENDERER_LOG_FILE` | Grafana Image Renderer log file | `${GRAFANA_IMAGE_RENDERER_LOGS_DIR}/renderer.log` |
|
||||
| `GRAFANA_IMAGE_RENDERER_CONF_FILE` | Path to the Grafana Image Renderer configuration file | `${GRAFANA_IMAGE_RENDERER_BASE_DIR}/conf/config.json` |
|
||||
| `GRAFANA_IMAGE_RENDERER_DAEMON_USER` | Grafana system user. | `grafana-image-renderer` |
|
||||
| `GRAFANA_IMAGE_RENDERER_DAEMON_GROUP` | Grafana system group. | `grafana-image-renderer` |
|
||||
|
||||
### Configuration file
|
||||
|
||||
The image looks for a `config.json` file in `/opt/bitnami/grafana-image-renderer/conf/`. You can mount a volume at `/opt/bitnami/grafana-image-renderer/conf/` and copy/edit the `config.json` file in the `/path/to/grafana-image-renderer-conf/` path. The default configurations will be populated to the `conf/` directory if it's empty.
|
||||
|
||||
```console
|
||||
/path/to/grafana-image-renderer-conf/
|
||||
└── config.json
|
||||
|
||||
0 directories, 1 file
|
||||
```
|
||||
|
||||
#### Step 1: Run the Grafana Image Renderer container
|
||||
|
||||
Run the Grafana Image Renderer container, mounting a directory from your host.
|
||||
|
||||
docker run --name grafana-image-renderer bitnami/grafana-image-renderer:latest
|
||||
|
||||
```console
|
||||
docker run --name grafana-image-renderer -v ${PWD}/path/to/grafana-image-renderer-conf:/opt/bitnami/grafana-image-renderer/conf/ bitnami/grafana-image-renderer:latest
|
||||
```
|
||||
|
||||
#### Step 2: Edit the configuration
|
||||
|
||||
Edit the configuration on your host using your favorite editor.
|
||||
|
||||
```console
|
||||
vi /path/to/grafana-image-renderer-conf/config.json
|
||||
```
|
||||
|
||||
#### Step 3: Restart Grafana Image Renderer
|
||||
|
||||
After changing the configuration, restart your Grafana Image Renderer container for changes to take effect.
|
||||
|
||||
After that, your configuration will be taken into account in the server's behaviour.
|
||||
| Name | Description | Value |
|
||||
|---------------------------------------|--------------------------------------------------------------|---------------------------------------------------|
|
||||
| `GRAFANA_IMAGE_RENDERER_BASE_DIR` | Path to the Grafana Image Renderer installation directory | `${BITNAMI_ROOT_DIR}/grafana-image-renderer` |
|
||||
| `GRAFANA_IMAGE_RENDERER_TMP_DIR` | Grafana Image Renderer directory for temporary runtime files | `${GRAFANA_IMAGE_RENDERER_BASE_DIR}/tmp` |
|
||||
| `GRAFANA_IMAGE_RENDERER_LOGS_DIR` | Grafana Image Renderer directory for log files | `${GRAFANA_IMAGE_RENDERER_BASE_DIR}/logs` |
|
||||
| `GRAFANA_IMAGE_RENDERER_PID_FILE` | Grafana Image Renderer PID file | `${GRAFANA_IMAGE_RENDERER_TMP_DIR}/renderer.pid` |
|
||||
| `GRAFANA_IMAGE_RENDERER_LOG_FILE` | Grafana Image Renderer log file | `${GRAFANA_IMAGE_RENDERER_LOGS_DIR}/renderer.log` |
|
||||
| `GRAFANA_IMAGE_RENDERER_DAEMON_USER` | Grafana system user. | `grafana-image-renderer` |
|
||||
| `GRAFANA_IMAGE_RENDERER_DAEMON_GROUP` | Grafana system group. | `grafana-image-renderer` |
|
||||
|
||||
### FIPS configuration in Bitnami Secure Images
|
||||
|
||||
@@ -222,6 +185,10 @@ docker run --name grafana-image-renderer bitnami/grafana-image-renderer:latest
|
||||
|
||||
## Notable Changes
|
||||
|
||||
### 5.0.3-debian-12-r0
|
||||
|
||||
The entire service has been rewritten in Go, replacing the previous Node.js implementation. This new version no longer uses the `config.json` file for configuration. More detailed context can be found on [the upstream PR](https://github.com/grafana/grafana-image-renderer/pull/818).
|
||||
|
||||
### Starting January 16, 2024
|
||||
|
||||
- The `docker-compose.yaml` file has been removed, as it was solely intended for internal testing purposes.
|
||||
|
||||
Reference in New Issue
Block a user