https://pantsbuild.org/ logo
#general
Title
# general
a

ancient-france-42909

01/30/2023, 4:28 PM
I'm trying to get an idea of how long each step takes while building an image (doesn't necessarily have to be exact, even just me seeing it on the screen is enough), but even with
-ldebug
the output is buffered then dumped immediately, is there a way to do that?
I guess I could add a
RUN date
after each step/group of steps, but yeah...
e

enough-analyst-54434

01/30/2023, 4:52 PM
Pants aside, try using BuildKit on a docker CLI run: https://docs.docker.com/build/buildkit/#getting-started that gives timings.
f

fast-nail-55400

01/30/2023, 6:14 PM
(with BuildKit enabled)
a

ancient-france-42909

01/31/2023, 8:55 AM
Buildkit worked, thanks
4 Views