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
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,17 @@ ENV ATTACHED_DEVICES_PERMS="/dev/dri /dev/dvb /dev/vchiq /dev/video1? -type c"

# install packages
RUN \
echo "**** add emby deps *****" && \
apt-get update && \
apt-get install -y --no-install-recommends \
libexpat1 && \
echo "**** install emby ****" && \
mkdir -p \
/app/emby \
/tmp/emby && \
if [ -z ${EMBY_RELEASE+x} ]; then \
EMBY_RELEASE=$(curl -s https://api.github.com/repos/MediaBrowser/Emby.Releases/releases/latest \
| jq -r '. | .tag_name'); \
| jq -r '. | .tag_name'); \
fi && \
curl -o \
/tmp/emby.deb -L \
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand All @@ -28,7 +29,7 @@ RUN \
/tmp/emby && \
if [ -z ${EMBY_RELEASE+x} ]; then \
EMBY_RELEASE=$(curl -s https://api.github.com/repos/MediaBrowser/Emby.Releases/releases/latest \
| jq -r '. | .tag_name'); \
| jq -r '. | .tag_name'); \
fi && \
curl -o \
/tmp/emby.deb -L \
Expand Down
3 changes: 1 addition & 2 deletions root/etc/s6-overlay/s6-rc.d/svc-emby/run
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 \
Expand Down