mirror of
https://github.com/hassio-addons/addon-home-panel.git
synced 2025-05-04 19:01:21 +00:00
⬆️ Updates
This commit is contained in:
parent
1ea0a84a35
commit
d0991fcf8a
2 changed files with 7 additions and 7 deletions
|
@ -13,17 +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 \
|
||||
\
|
||||
"https://github.com/timmo001/home-panel/releases/download/v1.0.0/home-panel-built-v0.10.0.zip" \
|
||||
&& unzip -d /tmp /tmp/panel.zip \
|
||||
&& mv /tmp/build /opt/panel \
|
||||
# TODO: Replace with release tag
|
||||
&& 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 \
|
||||
\
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue