Add openmax support

This commit is contained in:
aptalca
2020-02-26 16:56:24 -05:00
parent 70cc67859f
commit 43a4b407ff
6 changed files with 75 additions and 11 deletions

View File

@@ -25,10 +25,10 @@ RUN \
rpm2cpio emby.rpm \
| cpio -i --make-directories && \
mv -t \
/app/emby/ \
/app/emby/ \
/tmp/opt/emby-server/system/* \
/tmp/opt/emby-server/lib/samba/* \
/tmp/opt/emby-server/lib/* \
/tmp/opt/emby-server/lib/* \
/tmp/opt/emby-server/bin/ff* \
/tmp/opt/emby-server/etc
@@ -44,10 +44,22 @@ LABEL maintainer="thelamer"
# add needed nvidia environment variables for https://github.com/NVIDIA/nvidia-docker
ENV NVIDIA_DRIVER_CAPABILITIES="compute,video,utility"
RUN \
echo "**** add emby deps ****" && \
apt-get update && \
apt-get install -y --no-install-recommends \
libomxil-bellagio0 \
libomxil-bellagio-bin && \
echo "**** cleanup ****" && \
rm -rf \
/tmp/* \
/var/lib/apt/lists/* \
/var/tmp/*
# add local files
COPY --from=buildstage /app/emby /app/emby
COPY root/ /
# ports and volumes
EXPOSE 8096 8920
VOLUME /config /transcode
VOLUME /config