rw needed
This commit is contained in:
parent
b1c414f85e
commit
6c5637260d
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user