Skip to content
This repository was archived by the owner on Jan 1, 2024. It is now read-only.

Commit 1b45060

Browse files
committed
Use Alpine package of openzwave instead of compiling
1 parent 094165c commit 1b45060

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

Dockerfile

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ RUN \
3737
make \
3838
mosquitto-dev \
3939
musl-dev \
40+
openzwave-dev \
4041
libressl-dev \
4142
pkgconf \
4243
sqlite-dev \
@@ -53,6 +54,7 @@ RUN \
5354
5455
# add runtime packages required in build stage
5556
apk add --no-cache \
57+
openzwave \
5658
python3-dev && \
5759
5860
# link libftdi as the alpine guys named the libs wrong
@@ -82,18 +84,6 @@ RUN \
8284
ln -s /usr/lib/libtelldus-core.so.2.1.2 /usr/lib/libtelldus-core.so.2 && \
8385
ln -s /usr/lib/libtelldus-core.so.2 /usr/lib/libtelldus-core.so && \
8486
85-
# build OpenZWave
86-
git clone https://github.com/OpenZWave/open-zwave.git /tmp/open-zwave && \
87-
ln -s /tmp/open-zwave /tmp/open-zwave-read-only && \
88-
cd /tmp/open-zwave && \
89-
make && \
90-
make \
91-
instlibdir=usr/lib \
92-
pkgconfigdir="usr/lib/pkgconfig/" \
93-
PREFIX=/usr \
94-
sysconfdir=etc/openzwave \
95-
install && \
96-
9787
# build domoticz
9888
git clone https://github.com/domoticz/domoticz.git /tmp/domoticz && \
9989
cd /tmp/domoticz && \

0 commit comments

Comments
 (0)