Build from Dockerfile to improve caching
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:
Cameron Cordes
2021-12-24 10:33:26 -05:00
parent 1e3f33c2d3
commit 6e39f8c58e
3 changed files with 8 additions and 4 deletions

6
Jenkinsfile vendored
View File

@@ -1,8 +1,8 @@
pipeline {
agent {
docker {
image 'rust:1.55'
args '-v "$PWD":/usr/src/image-api'
dockerfile {
filename 'Dockerfile.ci'
args '-v "$PWD:/usr/src/image-api'
}
}