Run Linux docker images with /project as cwd
This commit is contained in:
@@ -110,8 +110,8 @@ def build(options: BuildOptions) -> None:
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
try:
|
try:
|
||||||
with DockerContainer(docker_image, simulate_32_bit=platform_tag.endswith('i686')) as docker:
|
with DockerContainer(docker_image, simulate_32_bit=platform_tag.endswith('i686'), cwd='/project') as docker:
|
||||||
docker.copy_into(Path.cwd(), Path('/project'))
|
docker.copy_into(Path.cwd(), PurePath('/project'))
|
||||||
|
|
||||||
if options.before_all:
|
if options.before_all:
|
||||||
env = docker.get_environment()
|
env = docker.get_environment()
|
||||||
|
|||||||
Reference in New Issue
Block a user