File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1
22
3- FROM ghcr.io/linuxserver/baseimage-alpine:3.23
3+ FROM ghcr.io/linuxserver/baseimage-alpine:3.24
44
55# set version label
66ARG BUILD_DATE
1515 echo "**** install runtime packages ****" && \
1616 apk add --no-cache --upgrade \
1717 ffmpeg \
18+ gcompat \
1819 nodejs \
20+ onnxruntime \
1921 openssl \
2022 yt-dlp && \
2123 apk add --no-cache --upgrade --virtual=build-dependencies \
3638 cd /app/mstream && \
3739 chown -R abc:abc ./ && \
3840 su -s /bin/sh abc -c 'HOME=/tmp npm install --omit=dev' && \
41+ echo "**** use distro onnxruntime for the discovery embedding runtime ****" && \
42+ if [ -d /app/mstream/node_modules/onnxruntime-node/bin/napi-v6/linux/x64 ]; then \
43+ rm -f \
44+ /app/mstream/node_modules/onnxruntime-node/bin/napi-v6/linux/x64/libonnxruntime.so.1 \
45+ /app/mstream/node_modules/onnxruntime-node/bin/napi-v6/linux/x64/libonnxruntime_providers_cuda.so \
46+ /app/mstream/node_modules/onnxruntime-node/bin/napi-v6/linux/x64/libonnxruntime_providers_tensorrt.so && \
47+ ln -s \
48+ /usr/lib/libonnxruntime.so.1 \
49+ /app/mstream/node_modules/onnxruntime-node/bin/napi-v6/linux/x64/libonnxruntime.so.1; \
50+ fi && \
3951 npm link && \
4052 chmod +x /app/mstream/bin/rust-parser/* && \
4153 printf "Linuxserver.io version: ${VERSION}\n Build-date: ${BUILD_DATE}" > /build_version && \
Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1
22
3- FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.23
3+ FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.24
44
55# set version label
66ARG BUILD_DATE
1515 echo "**** install runtime packages ****" && \
1616 apk add --no-cache --upgrade \
1717 ffmpeg \
18+ gcompat \
1819 nodejs \
20+ onnxruntime \
1921 openssl \
2022 yt-dlp && \
2123 apk add --no-cache --upgrade --virtual=build-dependencies \
3638 cd /app/mstream && \
3739 chown -R abc:abc ./ && \
3840 su -s /bin/sh abc -c 'HOME=/tmp npm install --omit=dev' && \
41+ echo "**** use distro onnxruntime for the discovery embedding runtime ****" && \
42+ if [ -d /app/mstream/node_modules/onnxruntime-node/bin/napi-v6/linux/arm64 ]; then \
43+ rm -f \
44+ /app/mstream/node_modules/onnxruntime-node/bin/napi-v6/linux/arm64/libonnxruntime.so.1 \
45+ /app/mstream/node_modules/onnxruntime-node/bin/napi-v6/linux/arm64/libonnxruntime_providers_cuda.so \
46+ /app/mstream/node_modules/onnxruntime-node/bin/napi-v6/linux/arm64/libonnxruntime_providers_tensorrt.so && \
47+ ln -s \
48+ /usr/lib/libonnxruntime.so.1 \
49+ /app/mstream/node_modules/onnxruntime-node/bin/napi-v6/linux/arm64/libonnxruntime.so.1; \
50+ fi && \
3951 npm link && \
4052 chmod +x /app/mstream/bin/rust-parser/* && \
4153 printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ init_diagram: |
7272 "mstream:latest" <- Base Images
7373# changelog
7474changelogs :
75+ - {date: "08.07.26:", desc: "Rebase to Alpine 3.24. Use the distro onnxruntime so the discovery/recommendation features work on musl."}
7576 - {date: "24.04.26:", desc: "Make waveform data persistent."}
7677 - {date: "20.04.26:", desc: "Fix perms on rust binaries."}
7778 - {date: "07.04.26:", desc: "Add ffmpeg and yt-dlp."}
You can’t perform that action at this time.
0 commit comments