From a5a7bdfed495d52b1c2b495c13b42e7d42dfc3e3 Mon Sep 17 00:00:00 2001 From: Alex Pyrgiotis Date: Thu, 6 Feb 2025 13:45:35 +0200 Subject: [PATCH] FIXUP: Suggest container runtime per platform --- dev_scripts/reproduce-image.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev_scripts/reproduce-image.py b/dev_scripts/reproduce-image.py index 48bfb82..b1ecc8e 100755 --- a/dev_scripts/reproduce-image.py +++ b/dev_scripts/reproduce-image.py @@ -31,6 +31,11 @@ DIFFOCI_PATH = ( ) IMAGE_NAME = "dangerzone.rocks/dangerzone" +if platform.system() in ["Darwin", "Windows"]: + CONTAINER_RUNTIME = "docker" +elif platform.system() == "Linux": + CONTAINER_RUNTIME = "podman" + def run(*args): """Simple function that runs a command, validates it, and returns the output"""