Upgrade to Mopidy 3

This commit is contained in:
Wouter Habets
2020-12-28 12:42:19 +01:00
parent 35694836c9
commit c1fcb9458c
9 changed files with 77 additions and 64 deletions

View File

@@ -1,5 +1,14 @@
FROM debian:jessie
MAINTAINER Wouter Habets (wouterhabets@gmail.com)
FROM debian:buster
LABEL maintainer="wouter@habets.io"
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
python3 \
python3-pip \
git \
gstreamer1.0-libav \
python-crypto \
python-setuptools
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
@@ -10,27 +19,18 @@ RUN apt-get update \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
mopidy \
mopidy-mpd \
mopidy-local \
mopidy-scrobbler \
mopidy-soundcloud \
mopidy-spotify \
mopidy-spotify-tunigo \
mopidy-tunein \
git \
gstreamer1.0-libav \
python-crypto \
python-setuptools
mopidy-tunein
RUN curl -L https://bootstrap.pypa.io/get-pip.py | python -
RUN pip install --ignore-installed Mopidy-Iris
RUN pip install -U six \
&& pip install markerlib \
&& pip install Mopidy-Local-SQLite \
&& pip install Mopidy-Local-Images \
&& pip install Mopidy-Party \
&& pip install Mopidy-Simple-Webclient \
&& pip install Mopidy-MusicBox-Webclient \
&& pip install Mopidy-API-Explorer \
&& pip install Mopidy-Mopify
#RUN curl -L https://bootstrap.pypa.io/get-pip.py | python3 -
RUN python3 -m pip install \
Mopidy-Iris \
Mopidy-MusicBox-Webclient \
Mopidy-YouTube
#ADD snapserver.deb /tmp/snapserver.deb
#RUN apt-get install -y libavahi-client3 libavahi-common3 \
@@ -49,8 +49,6 @@ ADD localscan /usr/bin/localscan
RUN chmod +x /usr/bin/localscan
VOLUME /var/lib/mopidy
VOLUME /media
VOLUME /mopidy.conf
EXPOSE 6600
EXPOSE 6680
@@ -59,4 +57,5 @@ EXPOSE 6681
USER mopidy
ENTRYPOINT ["/entrypoint.sh"]
CMD ["/usr/bin/mopidy"]
CMD ["/usr/bin/mopidy", "--config", "/etc/mopidy.conf:/mopidy.conf"]