Skip to content

Commit 507cdcd

Browse files
authored
Docker: Use numeric UID (#687)
1 parent 155f181 commit 507cdcd

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 4.0.9 (2025-07-28)
2+
3+
- Docker: Use numeric UID, [#686](https://github.com/grafana/grafana-image-renderer/issues/686), [Proximyst](https://github.com/Proximyst)
4+
- This fixes #686, which is useful for some Kubernetes users. It was reported by [@mhulscher](https://github.com/mhulscher). Thanks!
5+
- The bug only manifests if you use `securityContext.runAsNonRoot` in your `Deployment`.
6+
17
## 4.0.8 (2025-07-28)
28

39
- Docker: Include libnss3-tools, [#685](https://github.com/grafana/grafana-image-renderer/pull/685), [Proximyst](https://github.com/Proximyst), [roock](https://github.com/roock)

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,9 @@ COPY --from=build /src/plugin.json plugin.json
6464

6565
EXPOSE 8081
6666

67+
# Simple regression test for: https://github.com/grafana/grafana-image-renderer/issues/686
68+
RUN test "$(id -u)" -eq 65532
69+
USER 65532
70+
6771
ENTRYPOINT ["tini", "--", "/nodejs/bin/node"]
6872
CMD ["build/app.js", "server", "--config=config.json"]

plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"url": "https://github.com/grafana/grafana-image-renderer/blob/master/LICENSE"
2525
}
2626
],
27-
"version": "4.0.8",
27+
"version": "4.0.9",
2828
"updated": "2025-07-28"
2929
},
3030
"dependencies": {

0 commit comments

Comments
 (0)