From e493194cdd34372e5b5bed92360a4ea34f1578ce Mon Sep 17 00:00:00 2001 From: Eduardo Rodrigues Date: Tue, 4 Apr 2023 21:08:28 +0200 Subject: [PATCH] chore: prepare git folder within cargo --- tools/ci-build/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/ci-build/Dockerfile b/tools/ci-build/Dockerfile index 0e64f746a9f..d30bd2d4318 100644 --- a/tools/ci-build/Dockerfile +++ b/tools/ci-build/Dockerfile @@ -86,6 +86,8 @@ RUN set -eux; \ cargo +${rust_nightly_version} -Z sparse-registry install --locked --path tools/ci-build/difftags; \ cargo +${rust_nightly_version} -Z sparse-registry install --locked --path tools/ci-build/sdk-lints; \ cargo +${rust_nightly_version} -Z sparse-registry install --locked --path tools/ci-build/sdk-versioner; \ + mkdir -p /opt/cargo/git/db; \ + chmod g+rw -R /opt/cargo/git; \ chmod g+rw -R /opt/cargo/registry FROM install_rust AS cargo_deny