mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-17 14:16:29 +00:00
Better cleanup for local build add-ons (#161)
* Better cleanup for local build add-ons * fix lint
This commit is contained in:
parent
cb7710c23f
commit
dfda7dc748
@ -203,7 +203,9 @@ class DockerAddon(DockerBase):
|
||||
|
||||
_LOGGER.info("Start build %s on %s", build_tag, build_dir)
|
||||
image = self.dock.images.build(
|
||||
path=str(build_dir), tag=build_tag, pull=True)
|
||||
path=str(build_dir), tag=build_tag, pull=True,
|
||||
forcerm=True
|
||||
)
|
||||
|
||||
image.tag(self.image, tag='latest')
|
||||
self.process_metadata(image.attrs, force=True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user