Skip to content

Commit 9bb3615

Browse files
authored
Docker: Use tini (#678)
1 parent 695f0ff commit 9bb3615

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 4.0.5 (2025-07-23)
2+
3+
- Docker: Use tini, [#678](https://github.com/grafana/grafana-image-renderer/pull/678), [Proximyst](https://github.com/Proximyst)
4+
- This fixes #677, reported by [@mbentley](https://github.com/mbentley). Thanks!
5+
16
## 4.0.1, 4.0.2, 4.0.3 & 4.0.4 (2025-07-22)
27

38
This release only touches the build process of the plugin, as v4.0.0, .1, .2, and .3 did not release on the plugin catalog.

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN echo 'cachebuster 2025-07-16' && apt-get update
99

1010
FROM debian-updated AS debs
1111

12-
RUN apt-cache depends chromium chromium-driver chromium-shell chromium-sandbox font-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-khmeros fonts-kacst fonts-freefont-ttf libxss1 unifont fonts-open-sans fonts-roboto fonts-inter bash busybox util-linux openssl \
12+
RUN apt-cache depends chromium chromium-driver chromium-shell chromium-sandbox font-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-khmeros fonts-kacst fonts-freefont-ttf libxss1 unifont fonts-open-sans fonts-roboto fonts-inter bash busybox util-linux openssl tini \
1313
--recurse --no-recommends --no-suggests --no-conflicts --no-breaks --no-replaces --no-enhances --no-pre-depends | grep '^\w' | xargs apt-get download
1414
RUN mkdir /dpkg && \
1515
find . -type f -name '*.deb' -exec sh -c 'dpkg --extract "$1" /dpkg || exit 5' sh '{}' \;
@@ -56,4 +56,5 @@ COPY --from=build /src/plugin.json plugin.json
5656

5757
EXPOSE 8081
5858

59+
ENTRYPOINT ["tini", "--", "/nodejs/bin/node"]
5960
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.4",
27+
"version": "4.0.5",
2828
"updated": "2025-07-22"
2929
},
3030
"dependencies": {

0 commit comments

Comments
 (0)