mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 16:55:37 +02:00
✨ feat(server): Integrate gpu-screen-recorder into the server (#11)
## Description **What(what issue does this code solve/what feature does it add):** We succesfully built the gpu-screen-recorder in a separate container... now we need to add it into the main container **How(how does it solve it):** 1. Copy the relevant user/bin files from the separate docker image 2. ## Required Checklist: - [x] I have added any necessary documentation and comments in my code (where appropriate) - [ ] I have added tests to make sure my code runs in all contexts ## Further comments
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
#This contains all the necessary libs for the server to work.
|
#This contains all the necessary libs for the server to work.
|
||||||
#NOTE: KEEP THIS IMAGE AS LEAN AS POSSIBLE.
|
#NOTE: KEEP THIS IMAGE AS LEAN AS POSSIBLE.
|
||||||
|
FROM ghcr.io/wanjohiryan/netris/recorder:nightly as recorder
|
||||||
|
|
||||||
FROM ubuntu:23.10
|
FROM ubuntu:23.10
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive \
|
ENV DEBIAN_FRONTEND=noninteractive \
|
||||||
@@ -126,4 +128,7 @@ ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
|
|||||||
RUN chmod +x /tini
|
RUN chmod +x /tini
|
||||||
ENTRYPOINT ["/tini", "--"]
|
ENTRYPOINT ["/tini", "--"]
|
||||||
|
|
||||||
|
COPY --from=recorder /usr/bin/gpu-screen-recorder /usr/bin/gpu-screen-recorder
|
||||||
|
COPY --from=recorder /usr/bin/gsr-kms-server /usr/bin/gsr-kms-server
|
||||||
|
|
||||||
CMD [ "/usr/bin/netris/entrypoint.sh" ]
|
CMD [ "/usr/bin/netris/entrypoint.sh" ]
|
||||||
Reference in New Issue
Block a user