Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

Commit

Permalink
⬆️ Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
timmo001 committed Aug 31, 2019
1 parent 1ea0a84 commit d0991fc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
11 changes: 6 additions & 5 deletions home-panel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
\
Expand Down
3 changes: 1 addition & 2 deletions home-panel/rootfs/etc/cont-init.d/secrets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d0991fc

Please sign in to comment.