Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clearly indicate the demarcation of build stage in the build output #36908

Open
LaurentGoderre opened this issue Apr 20, 2018 · 1 comment
Open
Labels
area/builder kind/enhancement Enhancements are not bugs or new features but can improve usability or performance.

Comments

@LaurentGoderre
Copy link

When using multi-stage build, thew output does not clearly identify where one stage ends and another begin. I need to run the first stage image after the build is done to extract build related info (such a build cache) but findng the imgage ID is difficult because the output is just like any other step.

Here is the output of one of my multi-stage edge

Removing intermediate container 535f930c06dc
 ---> 3e491620080f
Step 7/14 : FROM alpine:3.4

It would be nice if instead it would say:

Removing intermediate container 535f930c06dc
Successfully built 3e491620080f (stage: 0)
Step 7/14 : FROM alpine:3.4

or for named ones:

Removing intermediate container 535f930c06dc
Successfully built 3e491620080f (stage: build)
Step 7/14 : FROM alpine:3.4
@thaJeztah thaJeztah added area/builder kind/enhancement Enhancements are not bugs or new features but can improve usability or performance. labels Apr 20, 2018
@thaJeztah
Copy link
Member

Continued in moby/buildkit#521, and implemented in BuildKit in moby/buildkit#549

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/builder kind/enhancement Enhancements are not bugs or new features but can improve usability or performance.
Projects
None yet
Development

No branches or pull requests

2 participants