Fix docker build on CircleCI
This commit is contained in:
@@ -126,7 +126,7 @@ def build(project_dir, output_dir, test_command, before_test, test_requires, tes
|
|||||||
# Use `docker exec` instead.
|
# Use `docker exec` instead.
|
||||||
with open(constraints_file, 'rb') as f:
|
with open(constraints_file, 'rb') as f:
|
||||||
call(
|
call(
|
||||||
['docker', 'exec', container_name, 'sh', '-c', 'cat > /constraints.txt'],
|
['docker', 'exec', '-i', container_name, 'sh', '-c', 'cat > /constraints.txt'],
|
||||||
input=f.read(),
|
input=f.read(),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user