From 86ecb716eb6aedfaec4f66522ba6e649e263dc5e Mon Sep 17 00:00:00 2001 From: angelrenefm <17342133+angelrenefm@users.noreply.github.com> Date: Sun, 25 Oct 2026 17:08:08 +0100 Subject: [PATCH] fix(build): build the local image when Podman reports it missing (#1527) --- tools/docker_preflight.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/docker_preflight.py b/tools/docker_preflight.py index b4e923275..b9cb3dbd9 100644 --- a/tools/docker_preflight.py +++ b/tools/docker_preflight.py @@ -17,7 +17,7 @@ if __name__ == '__main__': sys.exit('Docker is unavailable: ' + engine.stderr.strip()) image = run('image', 'inspect', sys.argv[1]) if image.returncode: - if 'No such image' not in image.stderr: + if 'No such image' not in image.stderr and 'image not known' not in image.stderr: # Docker, Podman sys.exit('Cannot inspect the build image: ' + image.stderr.strip()) repo = Path(__file__).resolve().parents[1] subprocess.run(['docker', 'build', '--platform', 'linux/amd64', '-t', sys.argv[1],