cool-easter-32542
05/12/2023, 3:15 PMdocker run arguments for a docker_environment.
Describe the solution you'd like
docker_environment(
...,
docker_run_args = ["--add-host <http://pypi.myorg.com:10.0.1.11%22|pypi.myorg.com:10.0.1.11">]
)
Describe alternatives you've considered
Alternatively, docker_environment could inherit the docker run arguments from [docker].run_args in pants.toml.
Additional context
Probably, there should be another tool for spawning complex environments like docker compose or devcontainers.
pantsbuild/pants