Merge pull request #115 from linuxserver/beta-buildfix

run from app folder, set ld lib path only for emby binary
This commit is contained in:
aptalca 2026-02-16 12:13:43 -05:00 committed by GitHub
commit 354fb4963a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 2 deletions

View File

@ -16,6 +16,10 @@ ENV NVIDIA_DRIVER_CAPABILITIES="compute,video,utility"
ENV ATTACHED_DEVICES_PERMS="/dev/dri /dev/dvb /dev/vchiq /dev/video1? -type c"
RUN \
echo "**** add emby deps ****" && \
apt-get update && \
apt-get install -y --no-install-recommends \
libexpat1 && \
echo "**** install emby ****" && \
mkdir -p \
/app/emby \

View File

@ -19,6 +19,7 @@ RUN \
echo "**** add emby deps *****" && \
apt-get update && \
apt-get install -y --no-install-recommends \
libexpat1 \
libomxil-bellagio0 \
libomxil-bellagio-bin \
libraspberrypi0 && \

View File

@ -3,7 +3,6 @@
# env settings
APP_DIR="/app/emby"
export LD_LIBRARY_PATH="${APP_DIR}"/lib:"${APP_DIR}"/extra/lib
export FONTCONFIG_PATH="${APP_DIR}"/etc/fonts
export OCL_ICD_VENDORS="${APP_DIR}"/extra/etc/OpenCL/vendors
export AMDGPU_IDS="${APP_DIR}"/extra/share/libdrm/amdgpu.ids
@ -16,7 +15,7 @@ export HOME="/config"
exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 8096" \
s6-setuidgid abc /app/emby/system/EmbyServer \
cd /app/emby env LD_LIBRARY_PATH="${APP_DIR}"/lib:"${APP_DIR}"/extra/lib s6-setuidgid abc /app/emby/system/EmbyServer \
-programdata /config \
-ffdetect /app/emby/bin/ffdetect \
-ffmpeg /app/emby/bin/ffmpeg \