creamy-ghost-8929
07/20/2022, 1:01 PM./pants run --docker-run-args="--gpus all --privileged -v /dev:/dev" docker/semantic_segmentation/Dockerfile-gpu
I would like to call a docker-compose file with all the run-args defined in it, how can that be done though pants, so it will build the .pex file?bitter-ability-32190
07/20/2022, 1:46 PMcreamy-ghost-8929
07/20/2022, 2:42 PMdocker-run-args
per Dockerfile? I saw that I can add run_args = ["arg",...]
on the pants.toml
, but this would act globally.bitter-ability-32190
07/20/2022, 2:43 PMhappy-kitchen-89482
07/20/2022, 7:25 PMrun
is interesting, and might even make sense as a generic feature, not just for docker_image
targets but for any runnable targetbitter-ability-32190
07/20/2022, 7:26 PMhappy-kitchen-89482
07/20/2022, 7:31 PM--gpus all --privileged -v /dev:/dev
bitter-ability-32190
07/20/2022, 7:31 PMhappy-kitchen-89482
07/20/2022, 8:16 PMcreamy-ghost-8929
07/20/2022, 8:18 PMbitter-ability-32190
07/20/2022, 8:18 PMhappy-kitchen-89482
07/20/2022, 8:19 PMbitter-ability-32190
07/20/2022, 8:20 PMpython_*
related targets now have run_goal_use_sandbox
. so slight convention about using run_goal_...