mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
docker deps update
This commit is contained in:
parent
258af8a3ca
commit
13817df1e4
@ -3,7 +3,7 @@ FROM debian:stretch-slim
|
||||
#
|
||||
# install neko dependencies
|
||||
RUN set -eux; apt-get update; \
|
||||
apt-get install -y --no-install-recommends pulseaudio openbox dbus-x11 xserver-xorg-video-dummy supervisor; \
|
||||
apt-get install -y --no-install-recommends pulseaudio dbus-x11 xserver-xorg-video-dummy; \
|
||||
apt-get install -y --no-install-recommends libcairo2 libxcb1 libxrandr2 libxv1 libopus0 libvpx4; \
|
||||
#
|
||||
# clean up
|
||||
@ -19,3 +19,5 @@ ENV PKG_CONFIG_PATH=/gst/local/lib/pkgconfig:$PKG_CONFIG_PATH
|
||||
#
|
||||
# copy gst
|
||||
COPY .build/gst/local /gst/local/
|
||||
COPY .docker/files/deps/dbus /usr/bin/dbus
|
||||
COPY .docker/files/deps/default.pa /etc/pulse/default.pa
|
11
.docker/files/deps/dbus
Executable file
11
.docker/files/deps/dbus
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ ! -d /var/run/dbus ]; then
|
||||
mkdir -p /var/run/dbus
|
||||
fi
|
||||
|
||||
if [ -f /var/run/dbus/pid ]; then
|
||||
rm -f /var/run/dbus/pid
|
||||
fi
|
||||
|
||||
/usr/bin/dbus-daemon --nofork --print-pid --config-file=/usr/share/dbus-1/system.conf
|
7
.docker/files/deps/default.pa
Normal file
7
.docker/files/deps/default.pa
Normal file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/pulseaudio -nF
|
||||
|
||||
# Allow pulse audio to be accessed via TCP (from localhost only), to allow other users to access the virtual devices
|
||||
load-module module-native-protocol-unix socket=/tmp/pulseaudio.socket auth-anonymous=1
|
||||
|
||||
### Make sure we always have a sink around, even if it is a null sink.
|
||||
load-module module-always-sink
|
Loading…
Reference in New Issue
Block a user