diff --git a/cibuildwheel/oci_container.py b/cibuildwheel/oci_container.py index 7fd0a3d1..2b65624f 100644 --- a/cibuildwheel/oci_container.py +++ b/cibuildwheel/oci_container.py @@ -301,7 +301,14 @@ class OCIContainer: if container_machine not in {"i686", "armv7l", "armv8l"}: simulate_32_bit = True # sanity check to ensure no deadlock waiting for container to start - call(*run_cmd, self.image, "linux32", "/bin/true", capture_stdout=True) + call( + *run_cmd, + *platform_args, + self.image, + "linux32", + "/bin/true", + capture_stdout=True, + ) shell_args = ["linux32", "/bin/bash"] if simulate_32_bit else ["/bin/bash"]