-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dockerfile: fix running onbuild rules from inherited stages
When inheriting from a stage in the same Dockerfile, if that stage defines ONBUILD rules then they should execute as they would if the parent stage would be first built into standalone image and then that image used as a base. This restores the behavior before BuildKit v0.17.0. Signed-off-by: Tonis Tiigi <[email protected]> (cherry picked from commit 5d3589f)
- Loading branch information
1 parent
fd61877
commit 3130178
Showing
2 changed files
with
123 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters