neko/dev/runtime/Dockerfile.nvidia
Miroslav Šedivý e66cd3978d
Build gstreamer in nvidia image (#36)
* 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.
2023-04-04 23:52:15 +02:00

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