diff --git a/containers/runner.Containerfile b/containers/runner.Containerfile index acb539e2..40c69622 100644 --- a/containers/runner.Containerfile +++ b/containers/runner.Containerfile @@ -13,11 +13,16 @@ RUN pacman -Syu --noconfirm meson pkgconf cmake git gcc make rustup \ # Setup stable rust toolchain # RUN rustup default stable -# Clone nestri source # -RUN git clone -b feat/stream https://github.com/nestriness/nestri.git +# # Clone nestri source # -# Build nestri # -RUN cd nestri/packages/server/ && \ +COPY packages/server/ /builder/server +# RUN git clone https://github.com/nestriness/nestri.git + +# # Build nestri # +# RUN cd nestri/packages/server/ && \ +# cargo build --release + +RUN cd /builder/server/ && \ cargo build --release #****************************************************************************** @@ -109,7 +114,7 @@ RUN usermod -aG input root && usermod -aG input ${USER} && \ ## Copy files from builders ## # this is done here at end to not trigger full rebuild on changes to builder # nestri -COPY --from=gst-builder /builder/nestri/target/release/nestri-server /usr/bin/nestri-server +COPY --from=gst-builder /builder/server/target/release/nestri-server /usr/bin/nestri-server # gstwayland COPY --from=gstwayland-builder /builder/plugin/include/libgstwaylanddisplay /usr/include/ COPY --from=gstwayland-builder /builder/plugin/lib/*libgstwayland* /usr/lib/