From 0c741359cc3f191f3851a27f8e28be8374d2e9c3 Mon Sep 17 00:00:00 2001 From: Alex Pyrgiotis Date: Thu, 3 Apr 2025 20:18:32 +0300 Subject: [PATCH] Make our build-image.py script runable on Windows --- install/common/build-image.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install/common/build-image.py b/install/common/build-image.py index 65a763d..868c5b1 100644 --- a/install/common/build-image.py +++ b/install/common/build-image.py @@ -5,7 +5,7 @@ import subprocess import sys from pathlib import Path -BUILD_CONTEXT = "dangerzone/" +BUILD_CONTEXT = "dangerzone" IMAGE_NAME = "dangerzone.rocks/dangerzone" if platform.system() in ["Darwin", "Windows"]: CONTAINER_RUNTIME = "docker" @@ -122,7 +122,8 @@ def main(): subprocess.run( [ - "./dev_scripts/repro-build.py", + sys.executable, + str(Path("dev_scripts") / "repro-build.py"), "build", "--runtime", args.runtime,