Merge pull request #2051 from marcosnils/feat/platform_flag

Add experimental way to set a target platform when building
This commit is contained in:
Andrea Luzzardi
2022-04-06 11:33:23 -07:00
committed by GitHub
13 changed files with 60 additions and 125 deletions

View File

@@ -109,7 +109,8 @@ func (p *Plan) Action() *Action {
// configPlatform load the platform specified in the context
// Buildkit will then run every operation using that platform
// If platform is not define, context keep default platform
// FIXME: `platform` field temporarily disabled
// FIXME: `platform` field temporarily disabled until we decide the proper
// DX for multi-platform builds
// func (p *Plan) configPlatform() error {
// platformField := p.source.Lookup("platform")