From 4ea9783c934f3db5a671741c57474e81af94ec2d Mon Sep 17 00:00:00 2001 From: jpic Date: Mon, 5 Oct 2020 18:27:49 +0200 Subject: [PATCH] Cache invalidation failures must not stop build Images may still be in use by running containers --- shlax/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shlax/image.py b/shlax/image.py index 33c80e3..9aade3c 100644 --- a/shlax/image.py +++ b/shlax/image.py @@ -29,7 +29,7 @@ class Layers(set): """Drop layers for this image""" if tags is None: tags = [layer for layer in await self.ls(target)] - await target.exec('podman', 'rmi', *tags) + await target.exec('podman', 'rmi', *tags, raises=False) class Image: