Install NodeJS for Matter binding in Debian image (#464)

Signed-off-by: Florian Hotze <dev@florianhotze.com>
main
Florian Hotze 2025-06-02 18:13:28 +02:00 committed by GitHub
parent 0dfba1456b
commit 1c2ab5e8a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

2
debian/Dockerfile vendored
View File

@ -68,6 +68,8 @@ RUN apt-get update && \
unzip \
wget \
zip && \
# Install NodeJS only for openHAB >= 5
if [ "$(echo $OPENHAB_VERSION | sed -E 's/^([0-9]+).*/\1/')" -ge 5 ]; then DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y nodejs; fi && \
c_rehash && \
chmod u+s /usr/sbin/arping && \
ln -s -f /bin/true /usr/bin/chfn && \