Skip to content

Commit ec8d92f

Browse files
committed
dockerfile: fix command count after new commands from ONBUILD
Fix progress lines like `[6/4] step` Signed-off-by: Tonis Tiigi <[email protected]>
1 parent c7db68a commit ec8d92f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frontend/dockerfile/dockerfile2llb/convert.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,6 +1134,7 @@ func initOnBuildTriggers(d *dispatchState, triggers []string, allDispatchStates
11341134
}
11351135
}
11361136
d.commands = append(commands, d.commands...)
1137+
d.cmdTotal += len(commands)
11371138

11381139
return hasNewDeps, nil
11391140
}

0 commit comments

Comments
 (0)