balena-io-hardware / etcherPro-fleet-sw

balenaEtcher on EtcherPro hardware
11 stars 8 forks source link

Adding image pruning at startup to prevent disk saturation #34

Closed wolvi-lataniere closed 1 year ago

wolvi-lataniere commented 1 year ago

Adding docker image prune -a -f before starting etcher to remove old images left by the OS. This should prevent /mnt/data to fill up on products with updates.

Change-type: patch