Don't use docker exec -w because CircleCI doesn't support it
This commit is contained in:
@@ -92,7 +92,7 @@ class DockerContainer:
|
|||||||
to_path.mkdir(parents=True, exist_ok=True)
|
to_path.mkdir(parents=True, exist_ok=True)
|
||||||
|
|
||||||
subprocess.run(
|
subprocess.run(
|
||||||
f'docker exec -i -w {from_path} {self.container_name} tar cf - . | tar -xf -',
|
f'docker exec -i {self.container_name} tar -cC {from_path} -f - . | tar -xf -',
|
||||||
shell=True,
|
shell=True,
|
||||||
check=True,
|
check=True,
|
||||||
cwd=to_path
|
cwd=to_path
|
||||||
|
|||||||
Reference in New Issue
Block a user