1
mirror of https://github.com/home-assistant/core synced 2024-08-02 23:40:32 +02:00
Commit Graph

13 Commits

Author SHA1 Message Date
nojocodex
8e4321af59
Fix logging & exit code reporting to S6 on HA shutdown (#72921) 2022-06-02 19:49:08 +02:00
Franck Nijhof
36ff15b038
Fix container init (#72478) 2022-05-25 12:15:33 +02:00
Pascal Vizeli
6368df5e37
Base Image: S6 overlay & jemalloc update (#72425)
* Update base image with new s6-Overlay & jemalloc

* add build version

* Update finish
2022-05-24 15:51:06 +02:00
Pascal Vizeli
27daba4418
Tuning jemalloc (#70899) 2022-04-27 17:35:13 +02:00
Stefan Agner
ed6c70a026
Pass exit code to s6-init (#59545) 2021-11-14 16:56:09 +01:00
Stefan Agner
df928c80b8
Shutdown the container on abnormal signals (#55660)
So far the finish script exits whenever the service terminated by a
signal (indicated by 256 as first argument). This is the intended
behavior when SIGTERM is being sent: SIGTERM is used on regular shutdown
through the supervisor. We don't want the finish script to shutdown
itself while being taken down by the supervisor already.

However, every other signal which lead to a process exit likely means
trouble: SIGSEGV, SIGILL, etc. In those cases we want the container to
exit. The Supervisor (or restart policy of Docker in the container case)
will take care of restarting if appropriate.
2021-09-06 14:37:33 +02:00
Pascal Vizeli
1e2f242220
Update base image to version 2021.04.3 (#49817) 2021-04-28 18:03:21 +02:00
Pascal Vizeli
1527b9cad7
Build images on GitHub actions (#48318)
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-04-26 22:19:40 +02:00
Konstantin Antselovich
f94bbdab61
Disable jemalloc via specific ENV variable, see Issue#36237 (#36274) 2020-06-03 01:08:50 +02:00
Franck Nijhof
f49831c03b
Temporary transition Docker init (#34135) 2020-04-13 12:37:57 +02:00
Pascal Vizeli
14c35c9223
Fix shutdown timeout and make it upstream with Supervisor (#33973)
* Fix shutdown timeout and make it upstream with Supervisor

* Moved ENV command up

* Update finish

Co-authored-by: Franck Nijhof <git@frenck.dev>
2020-04-10 22:04:50 +02:00
Pascal Vizeli
3ee05ad4bb
Enable Jemalloc for docker Core (#33237) 2020-03-25 10:14:15 +01:00
Pascal Vizeli
6e6ad94df6
Integrate dockerbuild (#33168)
* Integrate dockerbuild

* cleanup
2020-03-23 00:39:37 +01:00