Skip to content

Commit

Permalink
✨ feat(server): Integrate gpu-screen-recorder into the server (#11)
Browse files Browse the repository at this point in the history
## 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
  • Loading branch information
wanjohiryan committed Apr 3, 2024
1 parent b381e44 commit 9131344
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions server.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#This contains all the necessary libs for the server to work.
#NOTE: KEEP THIS IMAGE AS LEAN AS POSSIBLE.
FROM ghcr.io/wanjohiryan/netris/recorder:nightly as recorder

FROM ubuntu:23.10

ENV DEBIAN_FRONTEND=noninteractive \
Expand Down Expand Up @@ -126,4 +128,7 @@ ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN chmod +x /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" ]

0 comments on commit 9131344

Please sign in to comment.