I understand the docker builds, the output is not ...
# general
f
I understand the docker builds, the output is not streamed. Is there a ticket . feature request to have this be streamed ? I currently find, to really debug a docker build, I switch to running a
docker build
manually This is what I run for pants -
Copy code
pants --dynamic-ui=false --level=debug --docker-build-verbose=true package ::
but then locate the build line : (and mash up manual version to mimic)
Copy code
"/usr/bin/docker", "build", "--pull=False", "--tag", "registry.internal/service/imgname:latest", "--build-arg", "BASE_IMAGE=registry/internal/library/devcontainer/python:3.10", "--build-arg", "DEFAULT_TAG=latest", "--file", "service/imgname/Dockerfile", "."]
This becomes important - when the builds are weighing in at 10 and 20 minutes each time ..
👀 1
g
I have a pr to have streaming output per workunit but haven't had time to land it. It's next up to finish though...
👏 1
1
f
Hi @gorgeous-winter-99296, did this end up getting implemented ?
g
Hey! Unfortunately I haven't had time to land it yet :(
f
no problems - 😄 I hit bug in out build, in our pipeline that is buried somewhere, so wanted to see if streaming was available 😄 (the docker build is hanging but I can't be sure where 🙂 )