-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
37 lines (30 loc) · 971 Bytes
/
Copy pathDockerfile
File metadata and controls
37 lines (30 loc) · 971 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
FROM ubuntu:xenial
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && \
apt-get install -y --no-install-recommends \
ca-certificates \
curl \
libqt5core5a \
libqt5network5 \
libqt5widgets5 \
libqt5gui5 \
libqt5serialport5 \
libqt5websockets5 \
libqt5sql5 \
lsof \
sqlite3 && \
apt-get clean
ENV DECONZ_VERSION 2.05.58
ENV DECONZ_WEB_PORT 8080
ENV DECONZ_WS_PORT 443
RUN curl -O https://www.dresden-elektronik.de/deconz/ubuntu/beta/deconz-${DECONZ_VERSION}-qt5.deb && \
dpkg -i deconz-${DECONZ_VERSION}-qt5.deb && \
rm deconz-${DECONZ_VERSION}-qt5.deb
RUN chown root:root /usr/bin/deCONZ*
RUN mkdir /root/otau
RUN mkdir -p /run/udev/data/ && \
echo "E:ID_VENDOR_ID=0403\nE:ID_MODEL_ID=6015" > /run/udev/data/c188:0
VOLUME ["/root/.local/share/dresden-elektronik/deCONZ"]
EXPOSE ${DECONZ_WEB_PORT}
EXPOSE ${DECONZ_WS_PORT}
CMD /usr/bin/deCONZ --auto-connect=1 -platform minimal --upnp=0 --http-port=${DECONZ_WEB_PORT} --ws-port=${DECONZ_WS_PORT} --dbg-error=1