Attempting to get docker setup properly; Notifications colour consistency
This commit is contained in:
42
Dockerfile
42
Dockerfile
@ -1,42 +1,34 @@
|
||||
FROM debian:stretch-slim
|
||||
|
||||
# Copy the current codebase
|
||||
COPY . /iris
|
||||
|
||||
RUN set -ex \
|
||||
# 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 \
|
||||
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 \
|
||||
# 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 \
|
||||
&& python setup.py develop \
|
||||
&& cd / \
|
||||
&& mkdir -p /var/lib/mopidy/.config \
|
||||
&& ln -s /config /var/lib/mopidy/.config/mopidy \
|
||||
Mopidy-Local-Images \
|
||||
Mopidy-Local-SQLite \
|
||||
Mopidy-GMusic \
|
||||
pyopenssl \
|
||||
youtube-dl \
|
||||
mopidy-iris \
|
||||
# Install Snapcast
|
||||
# This is the most reliable way to get audio out of a Docker instance.
|
||||
&& curl -L https://github.com/badaix/snapcast/releases/download/v0.15.0/snapserver_0.15.0_amd64.deb -o snapserver.deb \
|
||||
|
||||
Reference in New Issue
Block a user