Skip to content

Commit

Permalink
fix: COPY instead of clone
Browse files Browse the repository at this point in the history
  • Loading branch information
wanjohiryan committed Dec 8, 2024
1 parent db84d11 commit dea1c4f
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions containers/runner.Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

#******************************************************************************
Expand Down Expand Up @@ -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/
Expand Down

0 comments on commit dea1c4f

Please sign in to comment.