From 9f02692f7041d3382a1ec84dffba186af47f6703 Mon Sep 17 00:00:00 2001 From: Timmo Date: Sat, 31 Aug 2019 22:42:52 +0100 Subject: [PATCH] :arrow_up: Updates --- home-panel/Dockerfile | 6 +++--- home-panel/rootfs/etc/cont-init.d/secrets.sh | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/home-panel/Dockerfile b/home-panel/Dockerfile index 56fb673..b67e610 100644 --- a/home-panel/Dockerfile +++ b/home-panel/Dockerfile @@ -13,18 +13,18 @@ RUN \ yarn=1.16.0-r0 \ \ && apk add --no-cache \ - nginx=1.16.0-r2 \ + nginx=1.16.1-r0 \ nodejs-current=12.4.0-r0 \ \ # TODO: Replace with release tag - && git clone --branch "one-port" --depth=1 \ + && git clone --branch "master" --depth=1 \ "https://github.com/timmo001/home-panel.git" /tmp/api \ && mv /tmp/api/api /opt/panel \ \ && mkdir -p /tmp/panel \ # TODO: Replace with actual download && curl -J -L -o /tmp/panel.zip \ - "https://gitlab.com/timmo/home-panel/-/jobs/265562240/artifacts/download" \ + "https://gitlab.com/timmo/home-panel/-/jobs/284851910/artifacts/download" \ && unzip -d /tmp/panel /tmp/panel.zip \ && mv /tmp/panel/build/* /opt/panel/public \ \ diff --git a/home-panel/rootfs/etc/cont-init.d/secrets.sh b/home-panel/rootfs/etc/cont-init.d/secrets.sh index fdffcb1..37c13d2 100644 --- a/home-panel/rootfs/etc/cont-init.d/secrets.sh +++ b/home-panel/rootfs/etc/cont-init.d/secrets.sh @@ -4,5 +4,4 @@ # This updates the internal auth secret for the API # ============================================================================== # shellcheck disable=2094,2016 -# TODO: Fix this -# bashio::jq /opt/panel/config/default.json '.authentication.secret="$(openssl rand -base64 32)"' > /opt/panel/config/default.json +bashio::jq /opt/panel/config/default.json '.authentication.secret="$(openssl rand -base64 32)"' > /opt/panel/config/default.json