Skip to content

Commit

Permalink
Merge pull request #5776 from tonistiigi/normalize-image-config
Browse files Browse the repository at this point in the history
dockerfile: normalize platform in image config
  • Loading branch information
AkihiroSuda authored Feb 26, 2025
2 parents 474135f + 2eb1b34 commit 6824fcf
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 @@ -815,6 +815,7 @@ func toDispatchState(ctx context.Context, dt []byte, opt ConvertOpt) (*dispatchS
target.image.OSFeatures = append([]string{}, platformOpt.targetPlatform.OSFeatures...)
}
}
target.image.Platform = platforms.Normalize(target.image.Platform)

return target, nil
}
Expand Down

0 comments on commit 6824fcf

Please sign in to comment.