From 6c5637260d0b253ef54415411258a52810ada6c9 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Tue, 27 Jun 2023 12:57:44 -0700 Subject: [PATCH] rw needed --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0efafb12..349f1f62 100644 --- a/Dockerfile +++ b/Dockerfile @@ -57,7 +57,7 @@ ENV WEB3_PROXY_FEATURES "rdkafka-src,connectinfo" FROM rust as build_tests # check hakari and test the application with cargo-nextest -RUN --mount=type=bind,target=. \ +RUN --mount=type=bind,target=.,rw \ --mount=type=cache,target=/usr/local/cargo/git \ --mount=type=cache,target=/usr/local/cargo/registry \ --mount=type=cache,target=/app/target,sharing=private \ @@ -72,7 +72,7 @@ FROM rust as build_app # build the release application # using a "release" profile (which install does by default) is **very** important # TODO: use the "faster_release" profile which builds with `codegen-units = 1` (but compile is SLOW) -RUN --mount=type=bind,target=. \ +RUN --mount=type=bind,target=.,rw \ --mount=type=cache,target=/usr/local/cargo/git \ --mount=type=cache,target=/usr/local/cargo/registry \ --mount=type=cache,target=/app/target,sharing=private \