homebridge-loxone-control 2.0.7 → 2.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Dockerfile +16 -42
- package/package.json +1 -1
package/Dockerfile
CHANGED
|
@@ -1,48 +1,22 @@
|
|
|
1
1
|
FROM homebridge/homebridge:latest
|
|
2
2
|
|
|
3
|
-
# Install dependencies required for headless Chrome / Puppeteer
|
|
4
|
-
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
5
|
-
ca-certificates \
|
|
6
|
-
fonts-liberation \
|
|
7
|
-
libasound2t64 \
|
|
8
|
-
libatk-bridge2.0-0 \
|
|
9
|
-
libatk1.0-0 \
|
|
10
|
-
libcairo2 \
|
|
11
|
-
libcups2 \
|
|
12
|
-
libdbus-1-3 \
|
|
13
|
-
libdrm2 \
|
|
14
|
-
libexpat1 \
|
|
15
|
-
libfontconfig1 \
|
|
16
|
-
libgbm1 \
|
|
17
|
-
libglib2.0-0 \
|
|
18
|
-
libgtk-3-0 \
|
|
19
|
-
libnspr4 \
|
|
20
|
-
libnss3 \
|
|
21
|
-
libpango-1.0-0 \
|
|
22
|
-
libpangocairo-1.0-0 \
|
|
23
|
-
libx11-6 \
|
|
24
|
-
libx11-xcb1 \
|
|
25
|
-
libxcb1 \
|
|
26
|
-
libxcomposite1 \
|
|
27
|
-
libxcursor1 \
|
|
28
|
-
libxdamage1 \
|
|
29
|
-
libxext6 \
|
|
30
|
-
libxfixes3 \
|
|
31
|
-
libxi6 \
|
|
32
|
-
libxrandr2 \
|
|
33
|
-
libxrender1 \
|
|
34
|
-
libxss1 \
|
|
35
|
-
libxtst6 \
|
|
36
|
-
wget \
|
|
37
|
-
xdg-utils \
|
|
38
|
-
&& rm -rf /var/lib/apt/lists/*
|
|
39
|
-
|
|
40
|
-
# Download Chrome for Puppeteer
|
|
41
3
|
ENV PUPPETEER_CACHE_DIR=/root/.cache/puppeteer
|
|
42
|
-
|
|
4
|
+
ENV DEBIAN_FRONTEND=noninteractive
|
|
5
|
+
|
|
6
|
+
# Chrome shared-library dependencies.
|
|
7
|
+
# Uses Swiss mirror — archive.ubuntu.com is unreliable from some hosts.
|
|
8
|
+
RUN sed -i 's|http://archive.ubuntu.com/ubuntu/|http://ch.archive.ubuntu.com/ubuntu/|g' /etc/apt/sources.list.d/ubuntu.sources \
|
|
9
|
+
&& apt-get update \
|
|
10
|
+
&& apt-get install -y --no-install-recommends \
|
|
11
|
+
libnspr4 libnss3 libasound2t64 libgbm1 \
|
|
12
|
+
&& rm -rf /var/lib/apt/lists/*
|
|
43
13
|
|
|
44
|
-
#
|
|
45
|
-
#
|
|
46
|
-
|
|
14
|
+
# Pre-download Chrome for the pinned puppeteer 24.39.1.
|
|
15
|
+
# The plugin is installed by homebridge's startup script at runtime (via
|
|
16
|
+
# the /homebridge bind mount), but Chrome must be baked into the image
|
|
17
|
+
# because /root/.cache/puppeteer is not persisted across recreates.
|
|
18
|
+
RUN npm install -g puppeteer@24.39.1 \
|
|
19
|
+
&& npx puppeteer browsers install chrome \
|
|
20
|
+
&& npm uninstall -g puppeteer
|
|
47
21
|
|
|
48
22
|
WORKDIR /homebridge
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"displayName": "Homebridge Loxone Control",
|
|
3
3
|
"name": "homebridge-loxone-control",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "2.0.
|
|
5
|
+
"version": "2.0.8",
|
|
6
6
|
"description": "Homebridge plugin to control a loxone system trough the web-interface - useful if you have zero access to the Miniserver",
|
|
7
7
|
"author": "Remo Vetere <remo.vetere@gmail.com>",
|
|
8
8
|
"license": "Apache-2.0",
|