mirror of
https://github.com/aljazceru/addons.git
synced 2026-02-01 11:15:38 +01:00
* 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>
27 lines
509 B
Docker
27 lines
509 B
Docker
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 /
|