mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-18 13:44:20 +01:00
Add initial support for ZWave JS (#1766)
* Add initial support for ZWave JS * fix version * fix lint * Apply suggestions from code review Co-authored-by: Martin Hjelmare <marhje52@gmail.com> Co-authored-by: Charles Garwood <cgarwood@gmail.com> * Apply suggestions from code review Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update zwave_js/config.json Co-authored-by: Franck Nijhof <git@frenck.dev> * Address comments * Fix install for all archs * make lint happy * Fix build * fix comment * Fix and clean zwave_js add-on (#1780) * Use new bashio feature * address ozw * update docs * Add debug support * fix template * Fix lint Co-authored-by: Martin Hjelmare <marhje52@gmail.com> Co-authored-by: Charles Garwood <cgarwood@gmail.com> Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
26
zwave_js/Dockerfile
Normal file
26
zwave_js/Dockerfile
Normal file
@@ -0,0 +1,26 @@
|
||||
ARG BUILD_FROM
|
||||
FROM ${BUILD_FROM}
|
||||
|
||||
ARG ZWAVEJS_SERVER_VERSION
|
||||
|
||||
# Install Z-Wave JS
|
||||
WORKDIR /usr/src
|
||||
RUN \
|
||||
set -x \
|
||||
&& apk add --no-cache \
|
||||
nodejs \
|
||||
npm \
|
||||
&& apk add --no-cache --virtual .build-dependencies \
|
||||
build-base \
|
||||
git \
|
||||
linux-headers \
|
||||
python3 \
|
||||
\
|
||||
&& npm config set unsafe-perm \
|
||||
&& npm install -g @zwave-js/server@${ZWAVEJS_SERVER_VERSION} \
|
||||
\
|
||||
&& apk del --no-cache \
|
||||
.build-dependencies
|
||||
|
||||
WORKDIR /
|
||||
COPY rootfs /
|
||||
Reference in New Issue
Block a user