2015-06-19 01:47:56 +02:00
|
|
|
# Pulseaudio
|
|
|
|
#
|
|
|
|
# docker run -d \
|
|
|
|
# -v /etc/localtime:/etc/localtime:ro \
|
|
|
|
# --device /dev/snd \
|
|
|
|
# --name pulseaudio \
|
|
|
|
# -p 4713:4713 \
|
2015-06-19 03:02:52 +02:00
|
|
|
# -v /var/run/dbus:/var/run/dbus \
|
|
|
|
# -v /etc/machine-id:/etc/machine-id \
|
2015-06-19 01:47:56 +02:00
|
|
|
# jess/pulseaudio
|
|
|
|
#
|
2018-09-14 16:10:41 +02:00
|
|
|
FROM debian:sid-slim
|
2017-03-09 19:14:37 +01:00
|
|
|
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
2015-06-19 01:47:56 +02:00
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
|
|
alsa-utils \
|
|
|
|
libasound2 \
|
|
|
|
libasound2-plugins \
|
|
|
|
pulseaudio \
|
|
|
|
pulseaudio-utils \
|
|
|
|
--no-install-recommends \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
ENV HOME /home/pulseaudio
|
|
|
|
RUN useradd --create-home --home-dir $HOME pulseaudio \
|
|
|
|
&& usermod -aG audio,pulse,pulse-access pulseaudio \
|
|
|
|
&& chown -R pulseaudio:pulseaudio $HOME
|
|
|
|
|
|
|
|
WORKDIR $HOME
|
|
|
|
USER pulseaudio
|
|
|
|
|
|
|
|
COPY default.pa /etc/pulse/default.pa
|
2015-06-19 03:02:52 +02:00
|
|
|
COPY client.conf /etc/pulse/client.conf
|
|
|
|
COPY daemon.conf /etc/pulse/daemon.conf
|
2015-06-19 01:47:56 +02:00
|
|
|
|
|
|
|
ENTRYPOINT [ "pulseaudio" ]
|
|
|
|
CMD [ "--log-level=4", "--log-target=stderr", "-v" ]
|