mopidy (latest)
Published 2024-06-22 21:46:16 +08:00 by opnxng
Installation
docker pull git.opnxng.com/opnxng/mopidy:latest
sha256:51c31e39b326c099e5ebad2d96e3d3f153fb6942695c56441e06fb396a78fb5c
Image Layers
ADD file:8e72543e3a341a8e3e2b8c32be6f7a8c620bf444b3da85feb5a0b66031d2f771 in / |
CMD ["bash"] |
/bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata gpg wget && mkdir -p /etc/apt/keyrings && wget -q -O /etc/apt/keyrings/mopidy-archive-keyring.gpg https://apt.mopidy.com/mopidy.gpg && wget -q -O /etc/apt/sources.list.d/mopidy.list https://apt.mopidy.com/bullseye.list && apt-get update |
/bin/sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y python3-pip mopidy gstreamer1.0-plugins-bad git curl |
/bin/sh -c python3 -m pip install Mopidy-Mobile Mopidy-MusicBox-Webclient Mopidy-MPD Mopidy-Youtube Mopidy-Jellyfin Mopidy-Bandcamp Mopidy-Podcast Mopidy-Podcast-iTunes Mopidy-SoundCloud pyopenssl yt-dlp ytmusicapi --break-system-packages && python3 -m pip cache purge && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* ~/.cache |
/bin/sh -c mkdir -p /temp && git clone https://github.com/nbx3/unusualcomputers.git && cd ./unusualcomputers/code/mopidy && python3 -m pip install --break-system-packages -e mopidymixcloud && cd . && rm -R /temp && python3 -m pip cache purge && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* ~/.cache |
USER mopidy:audio |
EXPOSE 5555/udp 6600 6680 |
ENTRYPOINT ["/usr/bin/mopidy"] |
CMD ["--config" "/etc/mopidy/mopidy.conf"] |
HEALTHCHECK &{["CMD-SHELL" "curl --connect-timeout 5 --silent --show-error --fail http://localhost:6680/ || exit 1"] "5s" "2s" "0s" '\x14'} |