-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Rebuild currency service Dockerfile with alpine #687
Conversation
Signed-off-by: Severin Neumann <severin.neumann@altmuehlnet.de>
Signed-off-by: Severin Neumann <severin.neumann@altmuehlnet.de>
Signed-off-by: Severin Neumann <severin.neumann@altmuehlnet.de>
Signed-off-by: Severin Neumann <severin.neumann@altmuehlnet.de>
This made a HUGE difference on my machine. 43 vs. 407 seconds on my m2 mac book air. Thank you so much @svrnm @austinlparker we should release a new version immediately after we merge this and test the new build performance. Then maybe we can add another quick release for arm64 support unless other services continue to block us. I'd be curious if we could do something similar for the other slow services? fyi @GaryPWhite |
Wouldn't this also work for the rust image since its the same libs? Worth a shot. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nicely done. Thanks.
Signed-off-by: svrnm <neumanns@cisco.com>
Signed-off-by: svrnm <neumanns@cisco.com>
Additional update: To reduce the final image size by ~300 MB (down to 65 on arm64) I turned it into a multi-stage build. |
Thanks @svrnm, this was an amazing improvement! |
Changes
This should fix #681, #679 partially and #574: Alpine linux provides a grpc-dev package that can be used to skip all the dependencies for building opentelemetry-cpp
This brings down the build time to 2m 30s on an intel macbook pro (2015)
Merge Requirements
CHANGELOG.md
updated to document new feature additions