From f5b506ccaf7558f58022c2363269001b659a6d32 Mon Sep 17 00:00:00 2001 From: Brad Davidson Date: Fri, 18 Sep 2020 16:13:17 -0700 Subject: [PATCH] Add trivy cache volume to build Signed-off-by: Brad Davidson --- Dockerfile.dapper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.dapper b/Dockerfile.dapper index c30fae86b9..441611d6ad 100644 --- a/Dockerfile.dapper +++ b/Dockerfile.dapper @@ -40,7 +40,7 @@ ARG SELINUX=true ENV SELINUX $SELINUX ENV GO111MODULE off -ENV DAPPER_RUN_ARGS --privileged -v k3s-cache:/go/src/github.com/rancher/k3s/.cache +ENV DAPPER_RUN_ARGS --privileged -v k3s-cache:/go/src/github.com/rancher/k3s/.cache -v trivy-cache:/root/.cache/trivy ENV DAPPER_ENV REPO TAG DRONE_TAG IMAGE_NAME SKIP_VALIDATE GCLOUD_AUTH ENV DAPPER_SOURCE /go/src/github.com/rancher/k3s/ ENV DAPPER_OUTPUT ./bin ./dist ./build/out