alsa support

This commit is contained in:
Sam Merry
2019-01-22 19:07:54 -08:00
committed by Werner Beroux
parent c960a83e2f
commit fa853b8b00
2 changed files with 6 additions and 2 deletions

View File

@@ -52,8 +52,7 @@ COPY pulse-client.conf /etc/pulse/client.conf
# Allows any user to run mopidy, but runs by default as a randomly generated UID/GID.
ENV HOME=/var/lib/mopidy
RUN set -ex \
&& usermod -u 84044 mopidy \
&& groupmod -g 84044 audio \
&& usermod -u 84044 -G audio,sudo mopidy \
&& chown mopidy:audio -R $HOME /entrypoint.sh \
&& chmod go+rwX -R $HOME /entrypoint.sh