forked from Doma/docker-mopidy
Upgrade python dependencies to fix Pandora and Gmusic.
Also fix permissions issue on build of Dockerfile.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user