Install NodeJS for Matter binding in Debian image (#464)
Signed-off-by: Florian Hotze <dev@florianhotze.com>pull/465/head
parent
0dfba1456b
commit
1c2ab5e8a5
|
@ -68,6 +68,8 @@ RUN apt-get update && \
|
||||||
unzip \
|
unzip \
|
||||||
wget \
|
wget \
|
||||||
zip && \
|
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 && \
|
c_rehash && \
|
||||||
chmod u+s /usr/sbin/arping && \
|
chmod u+s /usr/sbin/arping && \
|
||||||
ln -s -f /bin/true /usr/bin/chfn && \
|
ln -s -f /bin/true /usr/bin/chfn && \
|
||||||
|
|
Loading…
Reference in New Issue