Build from Dockerfile to improve caching
Some checks failed
Core Repos/ImageApi/pipeline/pr-master There was a failure building this commit
Some checks failed
Core Repos/ImageApi/pipeline/pr-master There was a failure building this commit
This should improve build times with changes that don't change the dependencies in Cargo.toml.
This commit is contained in:
4
Dockerfile.ci
Normal file
4
Dockerfile.ci
Normal file
@@ -0,0 +1,4 @@
|
||||
FROM rust:1.55
|
||||
COPY Cargo.toml .
|
||||
RUN cargo fetch
|
||||
COPY src/ ./src/
|
||||
Reference in New Issue
Block a user