From 419b128082e4df297bfe2fb826b26f8f6d41e9e9 Mon Sep 17 00:00:00 2001 From: James Barnsley Date: Sat, 29 Jan 2022 22:42:20 +1300 Subject: [PATCH] Using mopidy-spotify from apt so it manages all system deps, fixes #797 --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4d29aaf7..70b9d267 100755 --- a/Dockerfile +++ b/Dockerfile @@ -32,7 +32,7 @@ RUN wget -q -O - https://apt.mopidy.com/mopidy.gpg \ | APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=DontWarn apt-key add - \ && wget -q -O /etc/apt/sources.list.d/mopidy.list https://apt.mopidy.com/buster.list \ && apt-get update \ - && apt-get install -y libspotify-dev \ + && apt-get install -y libspotify-dev mopidy-spotify \ && rm -rf /var/lib/apt/lists/* # Clone Iris from the repository and install in development mode. @@ -52,7 +52,6 @@ RUN git clone -b master https://github.com/jaedb/Iris.git /iris \ RUN python3 -m pip install --no-cache \ tox \ mopidy-mpd \ - mopidy-spotify \ mopidy-local \ dbus-python \ # pip not up-to-date for Mopidy-Tidal (https://github.com/tehkillerbee/mopidy-tidal/issues/14) @@ -71,7 +70,7 @@ COPY docker/pulse-client.conf /etc/pulse/client.conf COPY VERSION / # Allows any user to run mopidy, but runs by default as a randomly generated UID/GID. -RUN useradd -ms /bin/bash mopidy +# RUN useradd -ms /bin/bash mopidy ENV HOME=/var/lib/mopidy RUN set -ex \ && usermod -G audio,sudo mopidy \