From 89592aa3a1aaf6f6a5d0d128e74da1911297b5a7 Mon Sep 17 00:00:00 2001 From: James Barnsley Date: Thu, 23 Jan 2020 10:37:22 +1300 Subject: [PATCH] Including pulsesink for running audio --- Dockerfile | 4 +++- MANIFEST.in | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6dcb7b32..ec83b091 100755 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,7 @@ RUN apt-get update \ gstreamer1.0-plugins-bad \ gstreamer1.0-plugins-good \ gstreamer1.0-plugins-ugly \ + gstreamer1.0-pulseaudio \ libasound2-dev \ python-dev \ python-gst-1.0 \ @@ -41,7 +42,7 @@ RUN git clone https://github.com/jaedb/Iris.git /iris \ && echo "mopidy ALL=NOPASSWD: /iris/mopidy_iris/system.sh" >> /etc/sudoers # Install additional Python dependencies -RUN python3.7 -m pip install --no-cache tox mopidy-spotify mopidy-local +RUN python3.7 -m pip install --no-cache tox mopidy-spotify # Start helper script. COPY docker/entrypoint.sh /entrypoint.sh @@ -54,6 +55,7 @@ COPY docker/pulse-client.conf /etc/pulse/client.conf # Add a VERSION file to the image ADD VERSION / +COPY IRIS_VERSION /iris/IRIS_VERSION # Allows any user to run mopidy, but runs by default as a randomly generated UID/GID. RUN useradd -ms /bin/bash mopidy diff --git a/MANIFEST.in b/MANIFEST.in index 73d4e07a..47a07b0b 100755 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,4 @@ include mopidy_iris/ext.conf include mopidy_iris/system.sh +include IRIS_VERSION recursive-include mopidy_iris/static * \ No newline at end of file