-
Notifications
You must be signed in to change notification settings - Fork 590
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
ci/docker: use cargo chef
to prepare dependencies.
#11378
Comments
For docker build, I think alternatively we can also use But maybe we can also use |
For java, it seems we can simply use A writeup about rust's problem, and many solutions https://hackmd.io/@kobzol/S17NS71bh#Better-support-of-Docker-layer-caching-in-Cargo |
Seems worthwhile as our folks now often build docker images manually for the purpose of benchmarking, and speeding up the build process could result in a smoother experience and significant cost savings. 🤔 |
cargo chef
to prepare dependencies.cargo chef
to prepare dependencies.
This issue has been open for 60 days with no activity. Could you please update the status? Feel free to continue discussion or close as not planned. |
https://github.com/LukeMathWalker/cargo-chef
It can speed up docker build by building all dependencies in one layer, and then we can reuse it as docker image cache.
The text was updated successfully, but these errors were encountered: