Add openmax support
This commit is contained in:
@@ -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,29 @@ LABEL maintainer="thelamer"
|
||||
# add needed nvidia environment variables for https://github.com/NVIDIA/nvidia-docker
|
||||
ENV NVIDIA_DRIVER_CAPABILITIES="compute,video,utility"
|
||||
|
||||
RUN \
|
||||
echo "**** install packages ****" && \
|
||||
apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
gnupg && \
|
||||
echo "**** add emby deps *****" && \
|
||||
curl -s https://keyserver.ubuntu.com/pks/lookup?op=get\&search=0x6587ffd6536b8826e88a62547876ae518cbcf2f2 | apt-key add - && \
|
||||
echo "deb http://ppa.launchpad.net/ubuntu-raspi2/ppa/ubuntu bionic main">> /etc/apt/sources.list.d/raspbins.list && \
|
||||
apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
libomxil-bellagio0 \
|
||||
libomxil-bellagio-bin \
|
||||
libraspberrypi0 && \
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user