Skip to content

Commit

Permalink
fix: Add /root/.cargo/bin/
Browse files Browse the repository at this point in the history
  • Loading branch information
wanjohiryan committed Dec 10, 2024
1 parent f1c2e30 commit 7a41a11
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions containers/runner.Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/ \
Expand All @@ -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
Expand All @@ -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/ \
Expand Down

0 comments on commit 7a41a11

Please sign in to comment.