rm to work around rust upgrade
This commit is contained in:
parent
44e8cce9c8
commit
ebd5bb215f
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user