i have come up with a docker_environment() wishlis...
# general
v
i have come up with a docker_environment() wishlist! • Just ran into https://github.com/pantsbuild/pants/issues/18577 recently where its difficult to pass shell variables through to tests inside docker_environment. this is pretty common in docker-compose environments. • I was also running into this one https://github.com/pantsbuild/pants/issues/17182, where
--test-debug
doesn't work because interactive processes broadly aren't supported. Super helpful for debugging workflows. • Finally, https://github.com/pantsbuild/pants/issues/17714 would be super nice. Would love to have pants be able to build a Dockerfile for the docker_environment() and then reuse that same image for docker_image(). none of these are hard blockers for me, i think, but overall just a little too clunky for adoption as of yet
💯 1
h
This is great feedback, thanks!
We probably need an environments stabilization master issue that lists these specific issues as dependencies
@victorious-zebra-49010 could you open an issue that explains your use case and lists these as issues preventing you from achieving it?
b
Thanks for the feedback, Andrea! There’s https://github.com/pantsbuild/pants/issues/17355 as a stabilisation tracking issue
h
Ah good!
b
I've updated that issue to reference all of those