Updating with pykka

This commit is contained in:
James Barnsley
2019-08-01 07:56:14 +12:00
parent 587cbb05b3
commit eef6d07f0e
4 changed files with 47 additions and 43 deletions

46
Dockerfile-develop Normal file → Executable file
View File

@ -4,33 +4,36 @@ FROM debian:stretch-slim
COPY . /iris
RUN set -ex \
# Official Mopidy install for Debian/Ubuntu along with some extensions
# (see https://docs.mopidy.com/en/latest/installation/debian/ )
# Official Mopidy install for Debian/Ubuntu along with some extensions
# (see https://docs.mopidy.com/en/latest/installation/debian/ )
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
curl \
dumb-init \
gcc \
gnupg \
gstreamer1.0-alsa \
gstreamer1.0-plugins-bad \
python-crypto \
python-pykka \
curl \
dumb-init \
gcc \
gnupg \
gstreamer1.0-alsa \
gstreamer1.0-plugins-bad \
python-crypto \
python-pykka \
&& curl -L https://apt.mopidy.com/mopidy.gpg | apt-key add - \
&& curl -L https://apt.mopidy.com/mopidy.list -o /etc/apt/sources.list.d/mopidy.list \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
mopidy \
mopidy-soundcloud \
mopidy-spotify \
mopidy \
mopidy-soundcloud \
mopidy-spotify \
&& curl -L https://bootstrap.pypa.io/get-pip.py | python - \
&& pip install -U six pyasn1 requests[security] cryptography \
&& pip install \
Mopidy-Local-Images \
Mopidy-Local-SQLite \
Mopidy-GMusic \
pyopenssl \
youtube-dl \
Mopidy-Local-Images \
Mopidy-Local-SQLite \
Mopidy-Moped \
Mopidy-GMusic \
Mopidy-Pandora \
Mopidy-YouTube \
pyopenssl \
youtube-dl \
# Clone Iris from current directory and install in development mode.
# This allows a binding at "/iris" to map to your local folder for development.
&& cd /iris \
@ -46,9 +49,8 @@ RUN set -ex \
&& apt-get -f install \
# Clean-up
&& apt-get purge --auto-remove -y \
curl \
gcc \
git \
curl \
gcc \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* ~/.cache
@ -73,7 +75,7 @@ USER mopidy
VOLUME ["/var/lib/mopidy/local", "/var/lib/mopidy/media"]
EXPOSE 6600 6680 1705 5555/udp
EXPOSE 6600 6680 5555/udp
ENTRYPOINT ["/usr/bin/dumb-init", "/entrypoint.sh"]
CMD ["/usr/bin/mopidy"]