Skip to content

Commit

Permalink
fix: Copy the whole repo
Browse files Browse the repository at this point in the history
  • Loading branch information
wanjohiryan committed Dec 8, 2024
1 parent dea1c4f commit 0f9b830
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 @@ -14,15 +14,15 @@ RUN pacman -Syu --noconfirm meson pkgconf cmake git gcc make rustup \
# Setup stable rust toolchain #
RUN rustup default stable
# # Clone nestri source #

COPY packages/server/ /builder/server
#Copy the whole repo inside the build container
COPY ./ /builder/nestri/
# RUN git clone https://github.com/nestriness/nestri.git

# # Build nestri #
# RUN cd nestri/packages/server/ && \
# cargo build --release

RUN cd /builder/server/ && \
RUN cd /builder/nestri/packages/server/ && \
cargo build --release

#******************************************************************************
Expand Down Expand Up @@ -114,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/server/target/release/nestri-server /usr/bin/nestri-server
COPY --from=gst-builder /builder/nestri/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/
Expand Down

0 comments on commit 0f9b830

Please sign in to comment.