From 6fb1a9404962e55b547a63e56042dc2da61c6177 Mon Sep 17 00:00:00 2001 From: icanos Date: Tue, 24 Nov 2020 14:00:16 +0000 Subject: [PATCH] resolved build issues --- plejd/Dockerfile | 16 ++++++++-------- plejd/build.json | 12 ++++++------ plejd/config.json | 4 ++-- plejd/main.js | 4 ++-- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/plejd/Dockerfile b/plejd/Dockerfile index 6dc2e53..a19a91c 100644 --- a/plejd/Dockerfile +++ b/plejd/Dockerfile @@ -1,4 +1,4 @@ -ARG BUILD_FROM=hassioaddons/base:5.0.2 +ARG BUILD_FROM=hassioaddons/base:8.0.6 FROM $BUILD_FROM ENV LANG C.UTF-8 @@ -22,14 +22,14 @@ ARG BUILD_ARCH RUN apk add --no-cache jq RUN \ apk add --no-cache --virtual .build-dependencies \ - g++=8.3.0-r0 \ - gcc=8.3.0-r0 \ - libc-dev=0.7.1-r0 \ - linux-headers=4.19.36-r0 \ - make=4.2.1-r2 \ - python \ + g++ \ + gcc \ + libc-dev \ + linux-headers \ + make \ + python3 \ bluez \ - eudev-dev=3.2.8-r0 \ + eudev-dev \ \ && apk add --no-cache \ git \ diff --git a/plejd/build.json b/plejd/build.json index 20efbe1..1afb131 100644 --- a/plejd/build.json +++ b/plejd/build.json @@ -1,11 +1,11 @@ { "squash": false, "build_from": { - "aarch64": "hassioaddons/base-aarch64:5.0.2", - "amd64": "hassioaddons/base-amd64:5.0.2", - "armhf": "hassioaddons/base-armhf:5.0.2", - "armv7": "hassioaddons/base-armv7:5.0.2", - "i386": "hassioaddons/base-i386:5.0.2" + "aarch64": "hassioaddons/base-aarch64:8.0.6", + "amd64": "hassioaddons/base-amd64:8.0.6", + "armhf": "hassioaddons/base-armhf:8.0.6", + "armv7": "hassioaddons/base-armv7:8.0.6", + "i386": "hassioaddons/base-i386:8.0.6" }, "args": {} -} \ No newline at end of file +} diff --git a/plejd/config.json b/plejd/config.json index de1884e..12769c8 100644 --- a/plejd/config.json +++ b/plejd/config.json @@ -1,6 +1,6 @@ { "name": "Plejd", - "version": "0.4.7", + "version": "0.4.8", "slug": "plejd", "description": "Adds support for the Swedish home automation devices from Plejd.", "url": "https://github.com/icanos/hassio-plejd/", @@ -38,4 +38,4 @@ "connectionTimeout": "int", "writeQueueWaitTime": "int" } -} \ No newline at end of file +} diff --git a/plejd/main.js b/plejd/main.js index e9e942b..a0d19e5 100644 --- a/plejd/main.js +++ b/plejd/main.js @@ -4,7 +4,7 @@ const fs = require('fs'); const PlejdService = require('./ble.bluez'); const SceneManager = require('./scene.manager'); -const version = "0.4.7"; +const version = "0.4.8"; async function main() { console.log('starting Plejd add-on v. ' + version); @@ -112,4 +112,4 @@ async function main() { }); } -main(); \ No newline at end of file +main();