parallel icon indicating copy to clipboard operation
parallel copied to clipboard

Dockerfile.dev file to support cargo cache

Open 0x8f701 opened this issue 4 years ago • 1 comments

0x8f701 avatar Oct 16 '21 09:10 0x8f701

researching approaches to allow caching.

Relevant links

Long term conversation (very informative) https://github.com/rust-lang/cargo/issues/2644

Promising tool https://github.com/LukeMathWalker/cargo-chef

Possible implementation using Docker BuildKit https://www.noelbundick.com/gists/optimizing-rust-container-builds/

Similar implementation for parity project https://gitlab.parity.io/parity/parity-bridges-common/-/commit/352dc686aeeeeba5f384ac213b4b1338e53a6632

I'm currently working on adding a Dockerfile.dev that is similar to the parity-bridges-common implementation. Will open a PR today

drbh avatar Feb 10 '22 19:02 drbh