music-assistant-pocketcasts (2.9.3-9f92022)

Published 2026-11-15 20:51:30 +00:00 by jonathan

Installation

docker pull cremin.dev/jonathan/music-assistant-pocketcasts:2.9.3-9f92022
sha256:22cb095d3d3184b70c1dea0bf2b992bc4bcfbf6619721a75ea07df53f6fbb22d

About this package

Music Assistant is a free, opensource Media library manager that connects to your streaming services and a wide range of connected speakers. The server is the beating heart, the core of Music Assistant and must run on an always-on device like a Raspberry Pi, a NAS or an Intel NUC or alike.

Image layers

# debian.sh --arch 'amd64' out/ 'bookworm' '@1779062400'
ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates netbase tzdata ; rm -rf /var/lib/apt/lists/* # buildkit
ENV PYTHON_VERSION=3.14.5
ENV PYTHON_SHA256=7e32597b99e5d9a39abed35de4693fa169df3e5850d4c334337ffd6a19a36db6
RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev gcc gnupg libbluetooth-dev libbz2-dev libc6-dev libdb-dev libffi-dev libgdbm-dev liblzma-dev libncursesw5-dev libreadline-dev libsqlite3-dev libssl-dev libzstd-dev make tk-dev uuid-dev wget xz-utils zlib1g-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; mkdir -p /usr/src/python; tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; rm python.tar.xz; cd /usr/src/python; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions --enable-optimizations --enable-option-checking=fatal --enable-shared $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') --with-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; case "$arch" in amd64|arm64) EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; ;; i386) ;; *) EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; ;; esac; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" python ; make install; cd /; rm -rf /usr/src/python; find /usr/local -depth \( \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \) -exec rm -rf '{}' + ; ldconfig; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -rt dpkg-query --search | awk 'sub(":$", "", $1) { print $1 }' | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 --version # buildkit
RUN /bin/sh -c set -eux; for src in idle3 pip3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done # buildkit
CMD ["python3"]
RUN /bin/sh -c echo "deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware" > /etc/apt/sources.list && echo "deb http://deb.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware" >> /etc/apt/sources.list && echo "deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware" >> /etc/apt/sources.list # buildkit
RUN /bin/sh -c set -x && apt-get update && apt-get install -y --no-install-recommends ca-certificates libjemalloc2 tzdata wget cifs-utils libnfs13 nfs-common openssl libssl-dev libuuid1 libcurl4 libsodium23 libconfuse2 libunistring2 libxml2 libevent-dev libjson-c5 libplist3 libgcrypt20 libavfilter8 libsndfile1 libchromaprint1 libfdk-aac2 libmp3lame0 libopus0 libvorbis0a libvorbisenc2 libsoxr0 libspeex1 libtwolame0 libshine3 libopencore-amrnb0 libopencore-amrwb0 libvo-amrwbenc0 librubberband2 libbs2b0 libsamplerate0 libmysofa1 libjack-jackd2-0 libpulse0 libbluray2 libxml2 libssh-4 liblzma5 libasound2 libportaudio2 pipewire-alsa pulseaudio-utils libvorbisidec1 libflac12 libavahi-client3 libavahi-common3 libconfig9 libpopt0 && apt-get clean && rm -rf /var/lib/apt/lists/* && rm -f /usr/bin/parecord /usr/bin/paplay /usr/bin/parec /usr/bin/pamon /usr/bin/pacat /usr/bin/pasuspender /usr/bin/pacmd # buildkit
ARG SNAPCAST_VERSION=0.34.0
ARG TARGETARCH=amd64
RUN |2 SNAPCAST_VERSION=0.34.0 TARGETARCH=amd64 /bin/sh -c set -x && if [ "$TARGETARCH" = "arm64" ]; then SNAPCAST_ARCH="arm64"; else SNAPCAST_ARCH="amd64"; fi && wget -q "https://github.com/badaix/snapcast/releases/download/v${SNAPCAST_VERSION}/snapserver_${SNAPCAST_VERSION}-1_${SNAPCAST_ARCH}_bookworm.deb" -O /tmp/snapserver.deb && wget -q "https://github.com/badaix/snapcast/releases/download/v${SNAPCAST_VERSION}/snapclient_${SNAPCAST_VERSION}-1_${SNAPCAST_ARCH}_bookworm.deb" -O /tmp/snapclient.deb && dpkg -i /tmp/snapserver.deb /tmp/snapclient.deb && rm /tmp/snapserver.deb /tmp/snapclient.deb # buildkit
COPY /usr/local/bin/ffmpeg /usr/local/bin/ # buildkit
COPY /usr/local/bin/ffprobe /usr/local/bin/ # buildkit
COPY /usr/local/lib/libav*.so* /usr/local/lib/ # buildkit
COPY /usr/local/lib/libsw*.so* /usr/local/lib/ # buildkit
COPY /usr/local/lib/libpostproc.so* /usr/local/lib/ # buildkit
COPY /wheels/ /usr/local/share/pyav-wheels/ # buildkit
RUN |2 SNAPCAST_VERSION=0.34.0 TARGETARCH=amd64 /bin/sh -c ldconfig && ffmpeg -version && ffprobe -version # buildkit
RUN |2 SNAPCAST_VERSION=0.34.0 TARGETARCH=amd64 /bin/sh -c mkdir -p /usr/local/bin/widevine_cdm # buildkit
COPY widevine_cdm/* /usr/local/bin/widevine_cdm/ # buildkit
RUN |2 SNAPCAST_VERSION=0.34.0 TARGETARCH=amd64 /bin/sh -c chmod -R 777 /tmp # buildkit
LABEL org.opencontainers.image.title=Music Assistant Base Image org.opencontainers.image.description=Base Image for Music Assistant server - not to be used directly org.opencontainers.image.source=https://github.com/music-assistant/server org.opencontainers.image.authors=The Music Assistant Team org.opencontainers.image.licenses=Apache License 2.0
ENV VIRTUAL_ENV=/app/venv
ENV PATH=/app/venv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
COPY /app /app # buildkit
RUN /bin/sh -c chmod 777 /app # buildkit
ARG MASS_VERSION=2.9.3
ARG TARGETPLATFORM=linux/amd64
LABEL org.opencontainers.image.title=Music Assistant Server org.opencontainers.image.description=Music Assistant is a free, opensource Media library manager that connects to your streaming services and a wide range of connected speakers. The server is the beating heart, the core of Music Assistant and must run on an always-on device like a Raspberry Pi, a NAS or an Intel NUC or alike. org.opencontainers.image.source=https://github.com/music-assistant/server org.opencontainers.image.authors=The Music Assistant Team org.opencontainers.image.documentation=https://music-assistant.io org.opencontainers.image.licenses=Apache License 2.0 io.hass.version=2.9.3 io.hass.type=addon io.hass.name=Music Assistant Server io.hass.description=Music Assistant Server io.hass.platform=linux/amd64 io.hass.type=addon
VOLUME [/data]
EXPOSE [8095/tcp]
WORKDIR /app/venv
RUN |2 MASS_VERSION=2.9.3 TARGETPLATFORM=linux/amd64 /bin/sh -c printf '#!/bin/sh\nfor path in /usr/lib/*/libjemalloc.so.2; do\n [ -f "$path" ] && export LD_PRELOAD="$path" MALLOC_CONF="background_thread:true,dirty_decay_ms:5000,muzzy_decay_ms:5000" && break\ndone\nexec mass "$@"\n' > /usr/local/bin/entrypoint.sh && chmod +x /usr/local/bin/entrypoint.sh # buildkit
ENTRYPOINT ["/usr/local/bin/entrypoint.sh" "--data-dir" "/data" "--cache-dir" "/data/.cache"]
COPY dir:6437e164e5ce3b5e8179a643027abd841729896ab1bd2e226fdc654c6ac7fd28 in /tmp/pocketcasts
/bin/sh -c dest="$(python3 -c 'import importlib.util as u; print(u.find_spec("music_assistant").submodule_search_locations[0])')/providers/pocketcasts" && mv /tmp/pocketcasts "$dest" && python3 -m compileall -q "$dest"

Labels

Key Value
io.buildah.version 1.43.5
io.hass.description Music Assistant Server
io.hass.name Music Assistant Server
io.hass.platform linux/amd64
io.hass.type addon
io.hass.version 2.9.3
org.opencontainers.image.authors The Music Assistant Team
org.opencontainers.image.description Music Assistant is a free, opensource Media library manager that connects to your streaming services and a wide range of connected speakers. The server is the beating heart, the core of Music Assistant and must run on an always-on device like a Raspberry Pi, a NAS or an Intel NUC or alike.
org.opencontainers.image.documentation https://music-assistant.io
org.opencontainers.image.licenses Apache License 2.0
org.opencontainers.image.source https://github.com/music-assistant/server
org.opencontainers.image.title Music Assistant Server

Annotations

Key Value
org.opencontainers.image.base.digest sha256:3c04ebfeb478c4053787352b6f784061d17d75345cfe6e89bef98636e31cb95b
org.opencontainers.image.base.name ghcr.io/music-assistant/server:2.9.3
org.opencontainers.image.created 2026-11-15T20:49:06.61268197Z
Details
Container
2026-11-15 20:51:30 +00:00
1
2026-11-15 20:51:32 +00:00
OCI / Docker
linux/amd64
The Music Assistant Team
Apache License 2.0
801 MiB
Versions (2) View all
2.9.3-9f92022 2026-11-15
latest 2026-11-15