Use docker updated ffmpeg

pull/1/head
RandomNinjaAtk 5 years ago committed by GitHub
parent c9e0776316
commit 9a9393a4ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,6 +1,10 @@
FROM jrottenberg/ffmpeg:snapshot-ubuntu as ffmpeg
FROM linuxserver/sabnzbd FROM linuxserver/sabnzbd
LABEL maintainer="RandomNinjaAtk" LABEL maintainer="RandomNinjaAtk"
# Add files from ffmpeg
COPY --from=ffmpeg /usr/local/ /usr/local/
ENV VERSION="1.0.0" ENV VERSION="1.0.0"
RUN \ RUN \
@ -10,13 +14,27 @@ RUN \
mkvtoolnix \ mkvtoolnix \
mp3val \ mp3val \
flac \ flac \
ffmpeg \
opus-tools \ opus-tools \
jq \ jq \
cron && \ cron && \
apt-get purge --auto-remove -y && \ apt-get purge --auto-remove -y && \
apt-get clean apt-get clean
RUN \
# ffmpeg
apt-get update -qq && \
apt-get install -qq -y \
libva-drm2 \
libva2 \
i965-va-driver \
libgomp1 && \
apt-get purge --auto-remove -y && \
apt-get clean && \
chgrp users /usr/local/bin/ffmpeg && \
chgrp users /usr/local/bin/ffprobe && \
chmod g+x /usr/local/bin/ffmpeg && \
chmod g+x /usr/local/bin/ffprobe
RUN \ RUN \
# setup cron # setup cron
service cron start && \ service cron start && \
@ -32,4 +50,4 @@ COPY root/ /
# ports and volumes # ports and volumes
EXPOSE 8080 9090 EXPOSE 8080 9090
VOLUME /config /downloads VOLUME /config /storage

Loading…
Cancel
Save