ghcr.io/music-assistant/server:latest linux/amd64

ghcr.io/music-assistant/server:latest - 国内下载镜像源 浏览次数:66

温馨提示:此镜像为latest tag镜像,本站无法保证此版本为最新镜像

```html

这是一个 Music Assistant 服务器的 Docker 镜像。

```
源镜像 ghcr.io/music-assistant/server:latest
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/music-assistant/server:latest
镜像ID sha256:1ddcb21e4d9e94abbfa7e185cf1ed898ba18e43155ab88232a5162f3049d5b62
镜像TAG latest
大小 623.18MB
镜像源 ghcr.io
CMD
启动入口 mass --config /data
工作目录 /app/venv
OS/平台 linux/amd64
浏览量 66 次
贡献者
镜像创建 2025-03-09T01:58:09.523214444Z
同步时间 2025-03-15 19:48
更新时间 2025-04-18 08:11
开放端口
8095/tcp
目录挂载
/data
环境变量
PATH=/app/venv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=C.UTF-8 GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305 PYTHON_VERSION=3.12.8 PYTHON_SHA256=c909157bb25ec114e5869124cc2a9c4a4d4c1e957ca4ff553f1edc692101154e LD_PRELOAD=/usr/lib/libjemalloc.so.2 VIRTUAL_ENV=/app/venv
镜像标签
Music Assistant Server: io.hass.description Music Assistant Server: io.hass.name linux/amd64: io.hass.platform addon: io.hass.type 2.4.4: io.hass.version The Music Assistant Team: org.opencontainers.image.authors 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.description https://music-assistant.io: org.opencontainers.image.documentation Apache License 2.0: org.opencontainers.image.licenses https://github.com/music-assistant/server: org.opencontainers.image.source Music Assistant Server: org.opencontainers.image.title

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/music-assistant/server:latest
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/music-assistant/server:latest  ghcr.io/music-assistant/server:latest

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/music-assistant/server:latest
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/music-assistant/server:latest  ghcr.io/music-assistant/server:latest

Shell快速替换命令

sed -i 's#ghcr.io/music-assistant/server:latest#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/music-assistant/server:latest#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/music-assistant/server:latest && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/music-assistant/server:latest  ghcr.io/music-assistant/server:latest'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/music-assistant/server:latest && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/music-assistant/server:latest  ghcr.io/music-assistant/server:latest'

镜像构建历史


# 2025-03-09 09:58:09  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["mass" "--config" "/data"]
                        
# 2025-03-09 09:58:09  0.00B 设置工作目录为/app/venv
WORKDIR /app/venv
                        
# 2025-03-09 09:58:09  0.00B 声明容器运行时监听的端口
EXPOSE map[8095/tcp:{}]
                        
# 2025-03-09 09:58:09  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/data]
                        
# 2025-03-09 09:58:09  0.00B 添加元数据标签
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.4.4 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
                        
# 2025-03-09 09:58:09  0.00B 定义构建参数
ARG TARGETPLATFORM=linux/amd64
                        
# 2025-03-09 09:58:09  0.00B 定义构建参数
ARG MASS_VERSION=2.4.4
                        
# 2025-03-09 09:58:09  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c chmod 777 /app # buildkit
                        
# 2025-03-09 09:58:09  248.18MB 复制新文件或目录到容器中
COPY /app /app # buildkit
                        
# 2025-03-09 09:58:09  0.00B 设置环境变量 PATH
ENV PATH=/app/venv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2025-03-09 09:58:09  0.00B 设置环境变量 VIRTUAL_ENV
ENV VIRTUAL_ENV=/app/venv
                        
# 2025-01-16 04:33:07  0.00B 添加元数据标签
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
                        
# 2025-01-16 04:33:07  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c chmod -R 777 /tmp # buildkit
                        
# 2025-01-16 04:33:07  0.00B 设置环境变量 LD_PRELOAD
ENV LD_PRELOAD=/usr/lib/libjemalloc.so.2
                        
# 2025-01-16 04:33:07  36.50MB 复制新文件或目录到容器中
COPY /uv /uvx /bin/ # buildkit
                        
# 2025-01-16 04:33:07  3.46KB 复制新文件或目录到容器中
COPY widevine_cdm/* /usr/local/bin/widevine_cdm/ # buildkit
                        
# 2025-01-16 04:33:07  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p /usr/local/bin/widevine_cdm # buildkit
                        
# 2025-01-16 04:33:07  134.72MB 复制新文件或目录到容器中
COPY /ffprobe /usr/local/bin/ # buildkit
                        
# 2025-01-16 04:33:07  134.86MB 复制新文件或目录到容器中
COPY /ffmpeg /usr/local/bin/ # buildkit
                        
# 2025-01-16 04:33:06  20.64MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -x     && apk add --no-cache         ca-certificates         jemalloc         tzdata         cifs-utils         libnfs         openssl-dev      && apk add --no-cache snapcast --repository=https://dl-cdn.alpinelinux.org/alpine/v3.20/community # buildkit
                        
# 2024-12-05 21:19:52  0.00B 设置默认要执行的命令
CMD ["python3"]
                        
# 2024-12-05 21:19:52  36.00B 执行命令并创建新的镜像层
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
                        
# 2024-12-05 21:19:52  39.43MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 		apk add --no-cache --virtual .build-deps 		gnupg 		tar 		xz 				bluez-dev 		bzip2-dev 		dpkg-dev dpkg 		findutils 		gcc 		gdbm-dev 		libc-dev 		libffi-dev 		libnsl-dev 		libtirpc-dev 		linux-headers 		make 		ncurses-dev 		openssl-dev 		pax-utils 		readline-dev 		sqlite-dev 		tcl-dev 		tk 		tk-dev 		util-linux-dev 		xz-dev 		zlib-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 -; 	wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; 	GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; 	gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; 	gpg --batch --verify python.tar.xz.asc python.tar.xz; 	gpgconf --kill all; 	rm -rf "$GNUPGHOME" python.tar.xz.asc; 	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-option-checking=fatal 		--enable-shared 		--with-lto 		--with-ensurepip 	; 	nproc="$(nproc)"; 	EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; 	LDFLAGS="${LDFLAGS:--Wl},--strip-all"; 	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 '{}' + 	; 		find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' 		| tr ',' '\n' 		| sort -u 		| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' 		| xargs -rt apk add --no-network --virtual .python-rundeps 	; 	apk del --no-network .build-deps; 		export PYTHONDONTWRITEBYTECODE=1; 	python3 --version; 	pip3 --version # buildkit
                        
# 2024-12-05 21:19:52  0.00B 设置环境变量 PYTHON_SHA256
ENV PYTHON_SHA256=c909157bb25ec114e5869124cc2a9c4a4d4c1e957ca4ff553f1edc692101154e
                        
# 2024-12-05 21:19:52  0.00B 设置环境变量 PYTHON_VERSION
ENV PYTHON_VERSION=3.12.8
                        
# 2024-12-05 21:19:52  0.00B 设置环境变量 GPG_KEY
ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305
                        
# 2024-12-05 21:19:52  1.01MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	apk add --no-cache 		ca-certificates 		tzdata 	; # buildkit
                        
# 2024-12-05 21:19:52  0.00B 设置环境变量 LANG
ENV LANG=C.UTF-8
                        
# 2024-12-05 21:19:52  0.00B 设置环境变量 PATH
ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-12-05 21:19:52  0.00B 设置默认要执行的命令
CMD ["/bin/sh"]
                        
# 2024-12-05 21:19:52  7.83MB 复制文件或目录到容器中
ADD alpine-minirootfs-3.21.2-x86_64.tar.gz / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:1ddcb21e4d9e94abbfa7e185cf1ed898ba18e43155ab88232a5162f3049d5b62",
    "RepoTags": [
        "ghcr.io/music-assistant/server:latest",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/music-assistant/server:latest"
    ],
    "RepoDigests": [
        "ghcr.io/music-assistant/server@sha256:21fd9a4763f02ea63d983fb2d2cb185d28307b2928ded2fe51eae1d3230b5474",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/music-assistant/server@sha256:3bc36d44d93212e5503b2b872eb08d8f79dd51f4ecf1fa2cf847e98d1e0b0286"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-03-09T01:58:09.523214444Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "8095/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/app/venv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "LANG=C.UTF-8",
            "GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305",
            "PYTHON_VERSION=3.12.8",
            "PYTHON_SHA256=c909157bb25ec114e5869124cc2a9c4a4d4c1e957ca4ff553f1edc692101154e",
            "LD_PRELOAD=/usr/lib/libjemalloc.so.2",
            "VIRTUAL_ENV=/app/venv"
        ],
        "Cmd": null,
        "Image": "",
        "Volumes": {
            "/data": {}
        },
        "WorkingDir": "/app/venv",
        "Entrypoint": [
            "mass",
            "--config",
            "/data"
        ],
        "OnBuild": null,
        "Labels": {
            "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.4.4",
            "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"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 623180450,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/5e82e5a8fe9b19ad05511779537a457fdc6d8965e3e415b6d88f16aab36b3316/diff:/var/lib/docker/overlay2/f1f97c03d5cf8b18f85d103ee1f12254b5bf82b0185e74443ba1715fd683ea40/diff:/var/lib/docker/overlay2/da1d1711075b530d3f748723773ddf68fff8e95d8e13f353e3469ecf17758c66/diff:/var/lib/docker/overlay2/938f7944e21f40f53c62f379f59025c32f8fbec6d0e1d5c20df6acf9c4c54b92/diff:/var/lib/docker/overlay2/0225f0d1aff47e990ff76a2536aefe661646b75c2efc2c4ef889ec582cc63d16/diff:/var/lib/docker/overlay2/02282d490b7b33354a55054e354d0caa3871f06c4ce7621c7eae7de583858a50/diff:/var/lib/docker/overlay2/4ad4476b0c44303be44236e58af0a3eac6935ed5cb455f817fde88a2fa065537/diff:/var/lib/docker/overlay2/8fb61d65c3b1e053baf39d18b62940694213a8928358e1a786752dfe57848355/diff:/var/lib/docker/overlay2/6b82f5cdcfb7caf60ee72cdb37a214e678c20e8ed53eeff466f16fd6a067ce30/diff:/var/lib/docker/overlay2/879dde856d5f8ec070428f9d209f8624976a5260556844000903ccd2a72e2b5a/diff:/var/lib/docker/overlay2/67b325db5a3e0a12e126a30cdaa0346f44fb178d4e75167ddc62a2a2b3a0ddaf/diff:/var/lib/docker/overlay2/e6a380462c4697342f1ea55ceac7a45dffc797838b85722b579d7ca8f3d1c731/diff:/var/lib/docker/overlay2/d20d579acee6b92a841ecc27f4d08dddd63e6a78b9aab3e87eac393e91dd0045/diff",
            "MergedDir": "/var/lib/docker/overlay2/54eaa119dce3971e683858401ad213629cd646d9bb85f730e7c5c1f83572364c/merged",
            "UpperDir": "/var/lib/docker/overlay2/54eaa119dce3971e683858401ad213629cd646d9bb85f730e7c5c1f83572364c/diff",
            "WorkDir": "/var/lib/docker/overlay2/54eaa119dce3971e683858401ad213629cd646d9bb85f730e7c5c1f83572364c/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:a0904247e36a7726c03c71ee48f3e64462021c88dafeb13f37fdaf613b27f11c",
            "sha256:c6121fb0c7dea23329f97c13b47767a1382de932d353737ec6bb9023b8aa9552",
            "sha256:5b6d0b88dd08af77cc640e21b91ad37f92881f7f434748ba5fcfd72732ba6947",
            "sha256:375bee7d34e26b8c435e27264559f1a2749dc724ece6a46a5cde14c79015c6ca",
            "sha256:804f08682a593759db10cb4a0c4fae7817af327db4d6024ac9346096727ef6aa",
            "sha256:fbeefee1e0df983eb08f557de92911b312ccdd238b1343565c5dea32aea32603",
            "sha256:9919adaa9608f8d24a070d5dcfb6f1aa0467b55760bb91c65fcc67d14146a14a",
            "sha256:a8c30807e0bd6d728d8675842f1500f2973fcec9dadc42cf017e922ed716de44",
            "sha256:8470ccbeb2ca270701d200657efcdd46da5707aefdcb74c1fa30a4400e31bb32",
            "sha256:10127d067cbfbd4feed862497cbb7f43caea842730f6182897dd85239cec93ce",
            "sha256:45d8cb60298342a6f3916790d9e49a2365119a56c6fdc9203876c25902506eae",
            "sha256:2b6ecf218843a78d8b9ac382578f326ae2a26df671f64dd5673ab3eb09cc17bb",
            "sha256:2c0c7e60700fc900afccd015b95e701f75b9711f643ea89fd85f6d3a3edde7b3",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-03-15T19:48:02.062788172+08:00"
    }
}

更多版本

ghcr.io/music-assistant/server:latest

linux/amd64 ghcr.io623.18MB2025-03-15 19:48
65