Skip to content

Improved the performance of generated-files.Dockerfile by skipping pa… #5948

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cowwoc
Copy link

@cowwoc cowwoc commented Apr 26, 2025

…ckaging of unused files

Following up on #5924, I noticed that exporting files from the protobuf stage is extremely slow and of the 5800+ files, only 5 are actually needed to build language bindings. This reduces the build time by 2 minutes on my end.

@jsternberg As far as I can tell, the googleapis stage contains the majority of the unused files and it isn't actually used by anyone. Can you please confirm this is the case?

@github-actions github-actions bot added the area/hack building buildkit itself label Apr 26, 2025
…ckaging of unused files

Signed-off-by: Gili Tzabari <cowwoc2020@gmail.com>
@cowwoc cowwoc force-pushed the trim-generated-files branch from 84075fd to 69a2929 Compare April 26, 2025 20:32
@tonistiigi tonistiigi requested a review from jsternberg April 28, 2025 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/hack building buildkit itself
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant