Upgrade python dependencies to fix Pandora and Gmusic.

Also fix permissions issue on build of Dockerfile.
This commit is contained in:
Woodham
2019-02-06 18:27:39 +00:00
committed by Werner Beroux
parent bb21416055
commit 9791f7afe9

View File

@@ -20,16 +20,13 @@ RUN set -ex \
mopidy-soundcloud \
mopidy-spotify \
&& curl -L https://bootstrap.pypa.io/get-pip.py | python - \
&& pip install -U six \
&& pip install -U six pyasn1 requests[security] cryptography \
&& pip install \
Mopidy-Moped \
Mopidy-GMusic \
Mopidy-Pandora \
Mopidy-YouTube \
cryptography \
pyasn1 \
pyopenssl \
requests[security] \
youtube-dl \
&& mkdir -p /var/lib/mopidy/.config \
&& ln -s /config /var/lib/mopidy/.config/mopidy \
@@ -54,7 +51,7 @@ ENV HOME=/var/lib/mopidy
RUN set -ex \
&& usermod -G audio,sudo mopidy \
&& chown mopidy:audio -R $HOME /entrypoint.sh \
&& chmod go+rwX -R $HOME /entrypoint.sh
&& chmod go+rwx -R $HOME /entrypoint.sh
# Runs as mopidy user by default.
USER mopidy