Skip to content

Commit

Permalink
fix: Rename build -> builder
Browse files Browse the repository at this point in the history
  • Loading branch information
wanjohiryan committed Dec 10, 2024
1 parent db5aea0 commit fdd5384
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions containers/runner.Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,16 @@ RUN rustup default stable
#Copy the whole repo inside the build container
COPY ./ /builder/nestri/

WORKDIR /builder/nestri/packages/server/
# WORKDIR /builder/nestri/packages/server/

RUN mkdir -p /artifacts

RUN --mount=type=cache,target=/builder/target/ \
--mount=type=cache,target=/usr/local/cargo/git/db \
--mount=type=cache,target=/usr/local/cargo/registry/ \
cargo build --release && cp /build/target/release/nestri-server /artifacts/
cd /builder/nestri/packages/server/ \
&& cargo build --release \
&& cp /builder/target/release/nestri-server /artifacts/

#******************************************************************************
# gstwayland-builder
Expand Down Expand Up @@ -58,7 +60,8 @@ RUN --mount=type=cache,target=/builder/target/ \
--mount=type=cache,target=/builder/plugin/ \
--mount=type=cache,target=/usr/local/cargo/git/db \
--mount=type=cache,target=/usr/local/cargo/registry/ \
cargo cinstall --prefix=/builder/plugin/ && cp -r /builder/plugin/ /artifacts/
cargo cinstall --prefix=/builder/plugin/ \
&& cp -r /builder/plugin/ /artifacts/

#******************************************************************************
# runtime
Expand Down

0 comments on commit fdd5384

Please sign in to comment.