https://pantsbuild.org/ logo
#development
Title
# development
w

wide-midnight-78598

04/04/2023, 2:30 PM
Can someone point me at the mechanism in the docker backend that auto-magically sets up dependencies? Is it this InferDeps? https://github.com/pantsbuild/pants/blob/main/src/python/pants/backend/docker/util_rules/dependencies.py Just wondering how we currently setup a dep in a Dockerfile, and Pants knows to build it. Looking at revisiting my Ansible plugin
๐Ÿ‘€ 1
c

curved-television-6568

04/04/2023, 2:41 PM
w

wide-midnight-78598

04/04/2023, 3:00 PM
The ansible backend has a ton of quirks - but I think first step is hacking in a dependency injection. Regardless of how useful the rest that we made already might be - I think if it can't do that step, it's overall pretty useless. At least, that's my feeling as I'm doing some deployments ๐Ÿ™‚
๐Ÿ‘ 1
2 Views