🔨 Merge changes and add missing build image

This commit is contained in:
Timmo 2019-03-19 22:07:35 +00:00
commit e57c2d4fce
4 changed files with 19 additions and 6 deletions

View file

@ -18,8 +18,8 @@ A self-hosted web IRC client.
## About
A self-hosted web IRC client that uses a modern and sleek interface with
support for theming, push notifications, link previews, file uploads and
more. Fully cross-platform and mobile friendly.
support for theming, push notifications, link previews, file uploads and
more. Fully cross-platform and mobile friendly.
![Screenshot][screenshot]

View file

@ -5,13 +5,25 @@ FROM ${BUILD_FROM}
# Install packages
# hadolint ignore=DL3003
RUN \
apk add --no-cache \
nodejs-current=11.3.0-r0 \
apk add --no-cache --virtual .build-dependencies \
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 \
&& apk del --purge .build-dependencies \
&& rm -fr /tmp/*
# Copy root filesystem

View file

@ -4,6 +4,7 @@
"aarch64": "hassioaddons/base-aarch64:3.0.0",
"amd64": "hassioaddons/base-amd64:3.0.0",
"armhf": "hassioaddons/base-armhf:3.0.0",
"armv7": "hassioaddons/base-armv7:3.0.0",
"i386": "hassioaddons/base-i386:3.0.0"
},
"squash": false

View file

@ -12,6 +12,6 @@ if ! bashio::fs.directory_exists "/data/thelounge"; then
else
for theme in $(bashio::config "themes")
do
/usr/local/bin/thelounge install "$theme"
/usr/local/bin/thelounge install "${theme}"
done
fi