From 7a41a111999e0bd6b84a64b78952bb27cf9707ed Mon Sep 17 00:00:00 2001 From: Wanjohi Date: Tue, 10 Dec 2024 17:48:10 +0300 Subject: [PATCH] fix: Add `/root/.cargo/bin/` --- containers/runner.Containerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/containers/runner.Containerfile b/containers/runner.Containerfile index ba631d0..ac12c40 100644 --- a/containers/runner.Containerfile +++ b/containers/runner.Containerfile @@ -21,7 +21,7 @@ COPY ./ /builder/nestri/ RUN mkdir -p /artifacts -RUN --mount=type=cache,target=/builder/target/ \ +RUN --mount=type=cache,target=/builder/nestri/target/ \ --mount=type=cache,target=/usr/local/cargo/git/db \ --mount=type=cache,target=/usr/local/cargo/registry/ \ cd /builder/nestri/packages/server/ \ @@ -41,8 +41,7 @@ RUN pacman -Syu --noconfirm meson pkgconf cmake git gcc make rustup \ # Setup stable rust toolchain # RUN rustup default stable # Build required cargo-c package # -RUN --mount=type=cache,target=/builder/target/ \ - --mount=type=cache,target=/usr/local/cargo/git/db \ +RUN --mount=type=cache,target=/usr/local/cargo/git/db \ --mount=type=cache,target=/usr/local/cargo/registry/ \ --mount=type=cache,target=/root/.cargo/bin/ \ cargo install cargo-c @@ -57,7 +56,8 @@ RUN mkdir -p /artifacts WORKDIR /builder/gst-wayland-display -RUN --mount=type=cache,target=/builder/target/ \ +RUN --mount=type=cache,target=/builder/gst-wayland-display/target/ \ + --mount=type=cache,target=/root/.cargo/bin/ \ --mount=type=cache,target=/builder/plugin/ \ --mount=type=cache,target=/usr/local/cargo/git/db \ --mount=type=cache,target=/usr/local/cargo/registry/ \