careful-postman-55465
01/23/2024, 9:38 PMDockerfile
that installs Pants and does some basic stuff, which my .devcontainer.json
file points to. It seems that running ./pants generate-lockfiles --resolve=some_resolve
inside my devcontainer takes at least 3-5 times the amount of time it would take if I run it in my host machine.
Is this expected in any way? Is there something I could do to make this work a little better?
(Sorry for the kinda open question. I'll gladly provide more details if needed.)silly-queen-7197
01/23/2024, 9:41 PMcareful-postman-55465
01/23/2024, 9:44 PMcareful-postman-55465
01/23/2024, 9:46 PMhappy-kitchen-89482
01/23/2024, 10:09 PMgenerate-lockfiles
is typically network bound, so I wouldn't expect containerization to have that much impact. If you re-run generate-lockfiles
twice in the same container (with download caches populated) how does that compare vs natively?