Skip to content

Commit

Permalink
Initialize build args from stage base
Browse files Browse the repository at this point in the history
Signed-off-by: Talon Bowler <talon.bowler@docker.com>
(cherry picked from commit c7c2f0e)
  • Loading branch information
daghack authored and tonistiigi committed Jun 18, 2024
1 parent e34c21a commit b45ab30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/dockerfile/dockerfile2llb/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -1035,6 +1035,7 @@ func (ds *dispatchState) init() {
// the paths we use back to the base image.
ds.paths = ds.base.paths
ds.workdirSet = ds.base.workdirSet
ds.buildArgs = append(ds.buildArgs, ds.base.buildArgs...)
}

type dispatchStates struct {
Expand Down

0 comments on commit b45ab30

Please sign in to comment.