mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
e66cd3978d
* build gstreamer 1.20 for nvidia dockerfile. * add nvidia to build. * add nvidia to start. * add config for nvidia. * upgrade cuda ro 11.4.3. * add cudaconvert to comment. * fix paths. * add cuda to ld. * upgrade supervisord version. * add config to suprtvisord in rebuild. * update nvenc params. * update nvidia dockerfile. * h264 profile constrained-baseline. * h264 send SPS PPS with every IDR.
21 lines
578 B
Docker
21 lines
578 B
Docker
ARG BASE_IMAGE=neko_server_runtime:latest
|
|
FROM $BASE_IMAGE
|
|
|
|
#
|
|
# install xfce
|
|
RUN set -eux; apt-get update; \
|
|
# nvidia docker does not have firefox only firefox-esr
|
|
apt-get install -y --no-install-recommends xfce4 xfce4-terminal firefox sudo; \
|
|
#
|
|
# add user to sudoers
|
|
usermod -aG sudo neko; \
|
|
echo "neko:neko" | chpasswd; \
|
|
echo "%sudo ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers; \
|
|
# clean up
|
|
apt-get clean -y; \
|
|
rm -rf /var/lib/apt/lists/* /var/cache/apt/*
|
|
|
|
#
|
|
# copy configuation files
|
|
COPY supervisord.conf /etc/neko/supervisord/xfce.conf
|