Skip to content

[Request]: Improve builder performance when build context is large #1515

Description

@JaewonHur

Feature or enhancement request details

Current builder archives entire build context and send it to builder VM while it also supports on-demand file provision through proxy. This was a technical decision to avoid overheads due to the large amount of gRPC calls (for file transfer) when the build context is large. However, it becomes another bottleneck, as archiving consumes lots of CPU cycles when the build context is huge.

With the recent support of docker ignore, users can selectively ignore files so that buildkit daemon reads only those files. Thus, we can still lower the number of file transfers without archiving entire build context.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

builderIssues and features associated with container image buildingnextMust-have items for current and next milestone

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions