From b1541cad1b2866e8918e06ca5323aaa623be1916 Mon Sep 17 00:00:00 2001 From: ludeeus Date: Wed, 26 Sep 2018 22:31:57 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20Moved=20from=20git=20to=20curl?= =?UTF-8?q?=20for=20the=20repo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- phlex/Dockerfile | 15 ++++++++++----- phlex/config.json | 1 + 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/phlex/Dockerfile b/phlex/Dockerfile index 34dfb38..3a93ff2 100644 --- a/phlex/Dockerfile +++ b/phlex/Dockerfile @@ -26,11 +26,16 @@ RUN \ php7-zip=7.2.10-r0 \ php7-simplexml=7.2.10-r0 \ php7-xml=7.2.10-r0 \ - && apk add --no-cache --virtual .build-dependencies \ - git=2.18.0-r0 \ - && git clone --depth=1 \ - https://github.com/d8ahazard/Phlex /opt \ - && apk del --purge .build-dependencies + \ + && mkdir -p /opt \ + \ + && curl -J -L -o /tmp/web.zip \ + "https://github.com/d8ahazard/Phlex/archive/8500344f6ff66bebd2518868579f39bb38161784.zip" \ + \ + && unzip -d /tmp /tmp/web.zip \ + && mv /tmp/Phlex-*/* /opt \ + \ + && rm -fr /tmp/* # Copy root filesystem COPY rootfs / diff --git a/phlex/config.json b/phlex/config.json index f1d7f8a..b82feee 100644 --- a/phlex/config.json +++ b/phlex/config.json @@ -15,6 +15,7 @@ "boot": "auto", "hassio_api": true, "hassio_role": "default", + "homeassistant_api": false, "ports": { "1778/tcp": 1778 },