joystream
joystream copied to clipboard
Research Docker features for caching some build artefacts locally.
The issue from the retrospective call: https://miro.com/app/board/uXjVOZwmt_k=/
┆Issue is synchronized with this Asana task by Unito
Some useful resources to consider: https://fenollp.github.io/faster-rust-builds-docker_host https://www.lpalmieri.com/posts/fast-rust-docker-builds/ https://benjamincongdon.me/blog/2019/12/04/Fast-Rust-Docker-Builds-with-cargo-vendor/ https://www.youtube.com/watch?v=xuqolj01D7M
also https://github.com/Joystream/joystream/issues/3035#issuecomment-1027639018
Explored the multiple tools and picked cargo-chef
it works, and requires only changes in the Dockerfile
.
Implemented in #4310