faint-monitor-7508
08/04/2025, 10:29 AMpants
in anger in our setup here. I had a question about the verbosity of pants when it gets to a docker build command. I'm currently running:
$ pants --no-dynamic-ui package --docker-build-verbose //projects/thing::
which is better than no extra args, but i still get to the docker build phase of our project where i see:
10:23:08.22 [INFO] Starting: Building docker image .../projects/thing/thing-image:398de3074947ae6865ddd296ef7484d34433050c82c78adc727d78bcf59b4bb1 +9 additional tags.
10:24:38.08 [INFO] Long running tasks:
89.86s Building docker image .../projects/thing/thing-image:398de3074947ae6865ddd296ef7484d34433050c82c78adc727d78bcf59b4bb1 +9 additional tags.
...
where what im interested in is why this docker build is taking so long and so what is happening in the docker build
... i.e. those +9 additional tags
I can (kinda?) get around this if i force pants to keep the sandbox, then try to run the docker build myself from inside the sandbox..and there i can see the actual steps and what is slow, what isn't etc
but is there a way to force pants to spit out the raw-est of raw outputs and just show me everything that is happening?billions-sundown-65740
08/04/2025, 10:32 AMpants --print-stacktrace -ldebug <rest of your command>
faint-monitor-7508
08/04/2025, 10:36 AMfaint-monitor-7508
08/04/2025, 10:37 AMfaint-monitor-7508
08/04/2025, 10:39 AMfaint-monitor-7508
08/04/2025, 10:41 AMdocker build
faint-monitor-7508
08/04/2025, 10:41 AMfaint-monitor-7508
08/04/2025, 10:41 AMfaint-monitor-7508
08/04/2025, 10:43 AMdescription: "Building docker image ... +9 additional tags."
what the hellhappy-kitchen-89482
08/05/2025, 8:27 PM