This repository has been archived by the owner on Aug 24, 2023. It is now read-only.
docker caching is currently not supported due to limitations of cargo/issues/2644. However, there are ways around this. #164
Labels
Docker caching is currently not supported due to limitations of cargo/issues/2644. However, there are ways around this.
Ideally, the case scenario is to run cargo fetch on just the
Cargo.lock
file. However, that cannot run unlesssrc/*
are present which defeats the whole point of layered docker caching.Alternatively:
src/*
structure and useCargo.lock
toRUN cargo fetch
cargo-chef
Originally posted by @fuxingloh in #163 (comment)
Why?
For better DX.
The text was updated successfully, but these errors were encountered: