Skip to content

Commit f1d1e99

Browse files
authored
Merge pull request moby#5048 from daghack/initialze-buildargs-from-base
Initialize build args from stage base
2 parents c462f78 + c7c2f0e commit f1d1e99

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
@@ -1034,6 +1034,7 @@ func (ds *dispatchState) init() {
10341034
// the paths we use back to the base image.
10351035
ds.paths = ds.base.paths
10361036
ds.workdirSet = ds.base.workdirSet
1037+
ds.buildArgs = append(ds.buildArgs, ds.base.buildArgs...)
10371038
}
10381039

10391040
type dispatchStates struct {

0 commit comments

Comments
 (0)