Skip to content

Commit

Permalink
🐜 fix(runner): gst-wayland-display directory fix (#178)
Browse files Browse the repository at this point in the history
Co-authored-by: DatCaptainHorse <DatCaptainHorse@users.noreply.github.com>
  • Loading branch information
DatCaptainHorse and DatCaptainHorse authored Feb 1, 2025
1 parent ec8d4f8 commit 0642d0b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions containers/runner.Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ ENV CARGO_TARGET_DIR=/builder/target
# Build and install directly to artifacts
RUN --mount=type=cache,target=${CARGO_HOME}/registry \
--mount=type=cache,target=/builder/target \
cargo cinstall --prefix=${ARTIFACTS}/usr --release
cargo cinstall --prefix=${ARTIFACTS} --release

#******************************************************************************
# Final Runtime Stage
Expand Down Expand Up @@ -171,15 +171,12 @@ RUN mkdir -p /run/dbus && \

### Artifacts and Verification ###
COPY --from=nestri-server-cached-builder /artifacts/nestri-server /usr/bin/
COPY --from=gst-wayland-cached-builder /artifacts/usr/ /usr/
COPY --from=gst-wayland-cached-builder /artifacts/lib/ /usr/lib/
RUN which nestri-server && ls -la /usr/lib/gstreamer-1.0/ | grep 'waylanddisplaysrc'

### Scripts and Final Configuration ###
COPY packages/scripts/ /etc/nestri/
RUN chmod +x /etc/nestri/{envs.sh,entrypoint*.sh} && \
locale-gen

COPY --from=nestri-server-cached-builder /artifacts /artifacts
RUN ls -la /artifacts/

ENTRYPOINT ["supervisord", "-c", "/etc/nestri/supervisord.conf"]

0 comments on commit 0642d0b

Please sign in to comment.