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

Multiple fixes for ONBUILD behavior #5397

Merged
merged 3 commits into from
Oct 4, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
dockerfile: fix command count after new commands from ONBUILD
Fix progress lines like `[6/4] step`

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
tonistiigi committed Oct 4, 2024

Verified

This commit was signed with the committer’s verified signature. The key has expired.
tonistiigi Tõnis Tiigi
commit ec8d92fb5cc3ec4aa721ee94aa44768aa8af937b
1 change: 1 addition & 0 deletions frontend/dockerfile/dockerfile2llb/convert.go
Original file line number Diff line number Diff line change
@@ -1134,6 +1134,7 @@ func initOnBuildTriggers(d *dispatchState, triggers []string, allDispatchStates
}
}
d.commands = append(commands, d.commands...)
d.cmdTotal += len(commands)

return hasNewDeps, nil
}