Build images on GitHub actions (#48318)

Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
Pascal Vizeli
2021-04-26 22:19:40 +02:00
committed by GitHub
parent 9c3c67b71b
commit 1527b9cad7
5 changed files with 343 additions and 332 deletions

View File

@@ -5,8 +5,8 @@
cd /config || bashio::exit.nok "Can't find config folder!"
# Enable Jemalloc for Home Assistant Core, unless disabled
if [[ -z "${DISABLE_JEMALLOC+x}" ]]; then
export LD_PRELOAD="/usr/local/lib/libjemalloc.so.2"
# Enable mimalloc for Home Assistant Core, unless disabled
if [[ -z "${DISABLE_MIMALLOC+x}" ]]; then
export LD_PRELOAD="/usr/local/lib/libmimalloc.so"
fi
exec python3 -m homeassistant --config /config