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
LABEL maintainer="RandomNinjaAtk"
# Add files from ffmpeg
COPY --from=ffmpeg /usr/local/ /usr/local/
ENV VERSION="1.0.0"
RUN \
@ -10,13 +14,27 @@ RUN \
mkvtoolnix \
mp3val \
flac \
ffmpeg \
opus-tools \
jq \
cron && \
apt-get purge --auto-remove -y && \
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 \
# setup cron
service cron start && \
@ -32,4 +50,4 @@ COPY root/ /
# ports and volumes
EXPOSE 8080 9090
VOLUME /config /downloads
VOLUME /config /storage

Loading…
Cancel
Save