Shell_command stopped working - 0.107.x

After updating to 0.107.x (right now on 0.107.6) my “Update HA” shell_command / script stopped working.

After starting the command HA dies (dockerized on Armbian using the homeassistant/raspberrypi3-homeassistant docker image and adding sshpass on each update) within a few seconds.
The script is never run. The log shows:

2020-03-25 07:37:30 INFO (MainThread) [homeassistant.components.script] Update Home Assistant: Running script
2020-03-25 07:37:30 INFO (MainThread) [homeassistant.components.script] Update Home Assistant: Executing step call service
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
s6-svwait: fatal: timed out
2020-03-25 07:37:46 INFO (MainThread) [homeassistant.components.stream] Stopped stream workers.
2020-03-25 07:37:46 INFO (MainThread) [homeassistant.components.websocket_api.http.connection.2900401008] Connection closed by client
[s6-finish] sending all processes the TERM signal.
s6-svscanctl: fatal: unable to control /var/run/s6/services: supervisor not listening
[s6-finish] sending all processes the KILL signal and exiting.

Configuration.yml line:

shell_command:
  update_homeassistant: "sshpass -f /config/host.p ssh [email protected] '/home/cubie/homeassistant/updateha.sh'"

And the script itself:

#!/bin/bash
cd "$(dirname "$0")"
docker-compose build  --force-rm --pull
docker system prune -f
docker-compose up --force-recreate --build

I know I have a duplicate on build - but only takes a couple of seconds, so…

The script was working fine for quite a while, but after updating to the initial 0.107 release it died on me.

Any suggestions?

UPDATE

As of now the problem has disappeared.
Was running 0.107.6 and punched the shell_command when updater informed me the 0.107.7 was available - and this time no error or crash.
So something must have been fixed between 0.107.5 and 6 - I sure didn’t do anything :wink:

I have the same problem but with no docker.Original hass.io image on ssd.