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

improve image build performance by sharing layers #158

Merged
merged 1 commit into from
May 7, 2018

Conversation

edaniszewski
Copy link
Contributor

new pushes to master look like they can take from 9 minutes to 17 minutes when the images are rebuilt.

this PR should improve build performance by having the release image based on the slim image (e.g. they share layers). Then instead of spending time installing the same dependencies twice (in particular, grpcio and uvloop take a while), we just do it once, so in theory this should halve the build time.

@edaniszewski edaniszewski merged commit c857605 into master May 7, 2018
@edaniszewski edaniszewski deleted the image-build-perf branch May 7, 2018 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant