mirror of
https://github.com/hassio-addons/addon-thelounge.git
synced 2025-05-06 03:51:29 +00:00
🔨 Merge changes and add missing build image
This commit is contained in:
commit
e57c2d4fce
4 changed files with 19 additions and 6 deletions
|
@ -5,13 +5,25 @@ FROM ${BUILD_FROM}
|
||||||
# Install packages
|
# Install packages
|
||||||
# hadolint ignore=DL3003
|
# hadolint ignore=DL3003
|
||||||
RUN \
|
RUN \
|
||||||
apk add --no-cache \
|
apk add --no-cache --virtual .build-dependencies \
|
||||||
nodejs-current=11.3.0-r0 \
|
|
||||||
yarn=1.12.3-r0 \
|
yarn=1.12.3-r0 \
|
||||||
\
|
\
|
||||||
&& yarn global add thelounge@3.0.1 \
|
&& apk add --no-cache \
|
||||||
|
nodejs-current=11.3.0-r0 \
|
||||||
\
|
\
|
||||||
|
&& yarn global add \
|
||||||
|
modclean \
|
||||||
|
thelounge@3.0.1 \
|
||||||
|
\
|
||||||
|
&& modclean \
|
||||||
|
--path /usr/local/share/.config/yarn/global \
|
||||||
|
--no-progress \
|
||||||
|
--keep-empty \
|
||||||
|
--run \
|
||||||
|
\
|
||||||
|
&& yarn global remove modclean \
|
||||||
&& yarn cache clean \
|
&& yarn cache clean \
|
||||||
|
&& apk del --purge .build-dependencies \
|
||||||
&& rm -fr /tmp/*
|
&& rm -fr /tmp/*
|
||||||
|
|
||||||
# Copy root filesystem
|
# Copy root filesystem
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
"aarch64": "hassioaddons/base-aarch64:3.0.0",
|
"aarch64": "hassioaddons/base-aarch64:3.0.0",
|
||||||
"amd64": "hassioaddons/base-amd64:3.0.0",
|
"amd64": "hassioaddons/base-amd64:3.0.0",
|
||||||
"armhf": "hassioaddons/base-armhf:3.0.0",
|
"armhf": "hassioaddons/base-armhf:3.0.0",
|
||||||
|
"armv7": "hassioaddons/base-armv7:3.0.0",
|
||||||
"i386": "hassioaddons/base-i386:3.0.0"
|
"i386": "hassioaddons/base-i386:3.0.0"
|
||||||
},
|
},
|
||||||
"squash": false
|
"squash": false
|
||||||
|
|
|
@ -12,6 +12,6 @@ if ! bashio::fs.directory_exists "/data/thelounge"; then
|
||||||
else
|
else
|
||||||
for theme in $(bashio::config "themes")
|
for theme in $(bashio::config "themes")
|
||||||
do
|
do
|
||||||
/usr/local/bin/thelounge install "$theme"
|
/usr/local/bin/thelounge install "${theme}"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue