From 98dbbaecf480769c731fc259721f5099504a0064 Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Sat, 14 Mar 2020 17:27:51 +0000 Subject: [PATCH] Fix docker build on CircleCI --- cibuildwheel/linux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cibuildwheel/linux.py b/cibuildwheel/linux.py index 3cc744f5..089aecbf 100644 --- a/cibuildwheel/linux.py +++ b/cibuildwheel/linux.py @@ -126,7 +126,7 @@ def build(project_dir, output_dir, test_command, before_test, test_requires, tes # Use `docker exec` instead. with open(constraints_file, 'rb') as f: call( - ['docker', 'exec', container_name, 'sh', '-c', 'cat > /constraints.txt'], + ['docker', 'exec', '-i', container_name, 'sh', '-c', 'cat > /constraints.txt'], input=f.read(), )