From ebd5bb215f21e71a7888acd1a9da13c07e458075 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Wed, 20 Sep 2023 13:35:33 -0700 Subject: [PATCH] rm to work around rust upgrade --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 8d7dec57..39d4835d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -83,11 +83,15 @@ ENV WEB3_PROXY_FEATURES "rdkafka-src" COPY . . # fill the package caches +# TODO: clean needed because of rust upgrade and jenkins caches :'( RUN --mount=type=cache,target=/root/.cargo/git \ --mount=type=cache,target=/root/.cargo/registry \ --mount=type=cache,target=/app/target \ + --mount=type=cache,target=/app/target_test \ set -eux -o pipefail; \ \ + rm -rf /app/target/*; \ + rm -rf /app/target_test/*; \ [ -e "$(pwd)/payment-contracts/src/contracts/mod.rs" ] || touch "$(pwd)/payment-contracts/build.rs"; \ cargo \ --locked \