Skip to content

Commit

Permalink
Unfork dockerui build code
Browse files Browse the repository at this point in the history
The changes we made to make the build support OS version in the platform
were upstreamed and part of the buildkit 0.19 release, so we no longer
need to keep this.

Signed-off-by: Brian Goff <[email protected]>
  • Loading branch information
cpuguy83 committed Jan 31, 2025
1 parent ca809a4 commit aedd498
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 124 deletions.
123 changes: 0 additions & 123 deletions frontend/windows/dockerui.go

This file was deleted.

2 changes: 1 addition & 1 deletion frontend/windows/handle_container.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func handleContainer(ctx context.Context, client gwclient.Client) (*gwclient.Res
dc.MultiPlatformRequested = true
}

rb, err := dcBuild(ctx, dc, func(ctx context.Context, platform *ocispecs.Platform, idx int) (ref gwclient.Reference, retCfg, retBaseCfg *dalec.DockerImageSpec, retErr error) {
rb, err := dc.Build(ctx, func(ctx context.Context, platform *ocispecs.Platform, idx int) (ref gwclient.Reference, retCfg, retBaseCfg *dalec.DockerImageSpec, retErr error) {
spec, err := frontend.LoadSpec(ctx, dc, platform)
if err != nil {
return nil, nil, nil, err
Expand Down

0 comments on commit aedd498

Please sign in to comment.