diff --git a/Dockerfile.auth-frontend b/Dockerfile.auth-frontend index 8bbe115..053cc99 100644 --- a/Dockerfile.auth-frontend +++ b/Dockerfile.auth-frontend @@ -5,9 +5,9 @@ COPY asklyphe-auth-frontend asklyphe-auth-frontend COPY asklyphe-common asklyphe-common COPY lyphedb lyphedb -RUN --mount=type=cache,target=$CARGO_HOME/registry \ +RUN --mount=type=cache,target=$CARGO_HOME/registry,sharing=locked \ --mount=type=cache,target=/usr/src/asklyphe/asklyphe-auth-frontend/target \ - --mount=type=cache,target=$CARGO_HOME/git/db \ + --mount=type=cache,target=$CARGO_HOME/git/db,sharing=locked \ cargo install --debug --path asklyphe-auth-frontend/ FROM debian:trixie-slim diff --git a/Dockerfile.authservice b/Dockerfile.authservice index c26116e..ab340c3 100644 --- a/Dockerfile.authservice +++ b/Dockerfile.authservice @@ -6,14 +6,14 @@ COPY asklyphe-common asklyphe-common COPY lyphedb lyphedb -RUN --mount=type=cache,target=$CARGO_HOME/registry \ +RUN --mount=type=cache,target=$CARGO_HOME/registry,sharing=locked \ --mount=type=cache,target=/usr/src/asklyphe/authservice/target \ - --mount=type=cache,target=$CARGO_HOME/git/db \ + --mount=type=cache,target=$CARGO_HOME/git/db,sharing=locked \ cargo install --debug --path authservice/ -RUN --mount=type=cache,target=$CARGO_HOME/registry \ +RUN --mount=type=cache,target=$CARGO_HOME/registry,sharing=locked \ --mount=type=cache,target=/usr/src/asklyphe/authservice/migration/target \ - --mount=type=cache,target=$CARGO_HOME/git/db \ + --mount=type=cache,target=$CARGO_HOME/git/db,sharing=locked \ cargo install --debug --path authservice/migration/ FROM debian:trixie-slim diff --git a/Dockerfile.bingservice b/Dockerfile.bingservice index 9534d14..94cf1d0 100644 --- a/Dockerfile.bingservice +++ b/Dockerfile.bingservice @@ -5,9 +5,9 @@ COPY bingservice bingservice COPY asklyphe-common asklyphe-common COPY lyphedb lyphedb -RUN --mount=type=cache,target=$CARGO_HOME/registry \ +RUN --mount=type=cache,target=$CARGO_HOME/registry,sharing=locked \ --mount=type=cache,target=/usr/src/asklyphe/bingservice/target \ - --mount=type=cache,target=$CARGO_HOME/git/db \ + --mount=type=cache,target=$CARGO_HOME/git/db,sharing=locked \ cargo install --debug --path bingservice/ FROM debian:trixie-slim diff --git a/Dockerfile.frontend b/Dockerfile.frontend index ed80b37..6aaa3e1 100644 --- a/Dockerfile.frontend +++ b/Dockerfile.frontend @@ -6,9 +6,9 @@ COPY asklyphe-common asklyphe-common COPY lyphedb lyphedb COPY unit_converter unit_converter -RUN --mount=type=cache,target=$CARGO_HOME/registry \ +RUN --mount=type=cache,target=$CARGO_HOME/registry,sharing=locked \ --mount=type=cache,target=/usr/src/asklyphe/asklyphe-frontend/target \ - --mount=type=cache,target=$CARGO_HOME/git/db \ + --mount=type=cache,target=$CARGO_HOME/git/db,sharing=locked \ cargo install --debug --path asklyphe-frontend/ FROM debian:trixie-slim diff --git a/Dockerfile.googleservice b/Dockerfile.googleservice index b462f1d..a4fd902 100644 --- a/Dockerfile.googleservice +++ b/Dockerfile.googleservice @@ -5,9 +5,9 @@ COPY googleservice googleservice COPY asklyphe-common asklyphe-common COPY lyphedb lyphedb -RUN --mount=type=cache,target=$CARGO_HOME/registry \ +RUN --mount=type=cache,target=$CARGO_HOME/registry,sharing=locked \ --mount=type=cache,target=/usr/src/asklyphe/googleservice/target \ - --mount=type=cache,target=$CARGO_HOME/git/db \ + --mount=type=cache,target=$CARGO_HOME/git/db,sharing=locked \ cargo install --debug --path googleservice/ FROM debian:trixie-slim diff --git a/Dockerfile.vorebot b/Dockerfile.vorebot index 02b29a3..b0d54b7 100644 --- a/Dockerfile.vorebot +++ b/Dockerfile.vorebot @@ -5,9 +5,9 @@ COPY vorebot vorebot COPY asklyphe-common asklyphe-common COPY lyphedb lyphedb -RUN --mount=type=cache,target=$CARGO_HOME/registry \ +RUN --mount=type=cache,target=$CARGO_HOME/registry,sharing=locked \ --mount=type=cache,target=/usr/src/asklyphe/vorebot/target \ - --mount=type=cache,target=$CARGO_HOME/git/db \ + --mount=type=cache,target=$CARGO_HOME/git/db,sharing=locked \ cargo install --debug --path vorebot/ FROM debian:trixie-slim