Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1

FROM ghcr.io/linuxserver/baseimage-alpine:3.23
FROM ghcr.io/linuxserver/baseimage-alpine:3.24

# set version label
ARG BUILD_DATE
Expand All @@ -15,7 +15,9 @@ RUN \
echo "**** install runtime packages ****" && \
apk add --no-cache --upgrade \
ffmpeg \
gcompat \
nodejs \
onnxruntime \
openssl \
yt-dlp && \
apk add --no-cache --upgrade --virtual=build-dependencies \
Expand All @@ -36,6 +38,16 @@ RUN \
cd /app/mstream && \
chown -R abc:abc ./ && \
su -s /bin/sh abc -c 'HOME=/tmp npm install --omit=dev' && \
echo "**** use distro onnxruntime for the discovery embedding runtime ****" && \
if [ -d /app/mstream/node_modules/onnxruntime-node/bin/napi-v6/linux/x64 ]; then \
rm -f \
/app/mstream/node_modules/onnxruntime-node/bin/napi-v6/linux/x64/libonnxruntime.so.1 \
/app/mstream/node_modules/onnxruntime-node/bin/napi-v6/linux/x64/libonnxruntime_providers_cuda.so \
/app/mstream/node_modules/onnxruntime-node/bin/napi-v6/linux/x64/libonnxruntime_providers_tensorrt.so && \
ln -s \
/usr/lib/libonnxruntime.so.1 \
/app/mstream/node_modules/onnxruntime-node/bin/napi-v6/linux/x64/libonnxruntime.so.1; \
fi && \
npm link && \
chmod +x /app/mstream/bin/rust-parser/* && \
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
Expand Down
14 changes: 13 additions & 1 deletion Dockerfile.aarch64
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1

FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.23
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.24

# set version label
ARG BUILD_DATE
Expand All @@ -15,7 +15,9 @@ RUN \
echo "**** install runtime packages ****" && \
apk add --no-cache --upgrade \
ffmpeg \
gcompat \
nodejs \
onnxruntime \
openssl \
yt-dlp && \
apk add --no-cache --upgrade --virtual=build-dependencies \
Expand All @@ -36,6 +38,16 @@ RUN \
cd /app/mstream && \
chown -R abc:abc ./ && \
su -s /bin/sh abc -c 'HOME=/tmp npm install --omit=dev' && \
echo "**** use distro onnxruntime for the discovery embedding runtime ****" && \
if [ -d /app/mstream/node_modules/onnxruntime-node/bin/napi-v6/linux/arm64 ]; then \
rm -f \
/app/mstream/node_modules/onnxruntime-node/bin/napi-v6/linux/arm64/libonnxruntime.so.1 \
/app/mstream/node_modules/onnxruntime-node/bin/napi-v6/linux/arm64/libonnxruntime_providers_cuda.so \
/app/mstream/node_modules/onnxruntime-node/bin/napi-v6/linux/arm64/libonnxruntime_providers_tensorrt.so && \
ln -s \
/usr/lib/libonnxruntime.so.1 \
/app/mstream/node_modules/onnxruntime-node/bin/napi-v6/linux/arm64/libonnxruntime.so.1; \
fi && \
npm link && \
chmod +x /app/mstream/bin/rust-parser/* && \
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
Expand Down
1 change: 1 addition & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ init_diagram: |
"mstream:latest" <- Base Images
# changelog
changelogs:
- {date: "08.07.26:", desc: "Rebase to Alpine 3.24. Use the distro onnxruntime so the discovery/recommendation features work on musl."}
- {date: "24.04.26:", desc: "Make waveform data persistent."}
- {date: "20.04.26:", desc: "Fix perms on rust binaries."}
- {date: "07.04.26:", desc: "Add ffmpeg and yt-dlp."}
Expand Down