Skip to content
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

Improvements based on inittrace #2601

Merged
merged 4 commits into from
Jul 24, 2024
Merged

Conversation

tonistiigi
Copy link
Member

Selection of improvements for best practices and avoiding big memory allocations in init stage in places where it doesn't degrade readability. For benchmarks this doesn't make a giant difference overall as bigger issues are in some of the dependencies, but need to start somewhere. This is mostly preparation for some other updates and for defining standards for future changes. All regexp.Compile issues were skipped for now but the detection logic is in https://gist.github.com/tonistiigi/1d58b4c2de41d194f35ac2c9f029f586 . Validations like this should be eventually integrated into CI.

@tonistiigi tonistiigi merged commit 3d542f3 into docker:master Jul 24, 2024
104 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants