From 04d40ff4d4e73cf4e3ed48f529510da45eda48ad Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Wed, 1 Apr 2020 10:20:50 -0400 Subject: [PATCH] use ubuntu repo ffmpeg build --- Dockerfile | 29 ++--------------------------- 1 file changed, 2 insertions(+), 27 deletions(-) diff --git a/Dockerfile b/Dockerfile index a64ea01..f67110d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,4 @@ ARG ffmpeg_tag=snapshot-vaapi -FROM jrottenberg/ffmpeg:${ffmpeg_tag} as ffmpeg FROM linuxserver/sabnzbd LABEL maintainer="RandomNinjaAtk" @@ -102,6 +101,7 @@ RUN \ python3 \ python3-pip \ libchromaprint-tools \ + ffmpeg \ cron && \ apt-get purge --auto-remove -y && \ apt-get clean && \ @@ -132,32 +132,7 @@ RUN \ git clone https://github.com/RandomNinjaAtk/sabnzbd-scripts.git ${SABSCRIPTS_PATH} && \ echo "************ setup cron ************" && \ service cron start && \ - echo "* * * * * root bash /etc/cont-init.d/33-script-setup.bash" >> "/etc/crontab" && \ - echo "************ setup ffmpeg ************" && \ - 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 && \ - echo "************ install runtime ************" && \ - apt-get update && \ - apt-get install -y \ - i965-va-driver \ - libexpat1 \ - libgl1-mesa-dri \ - libglib2.0-0 \ - libgomp1 \ - libharfbuzz0b \ - libv4l-0 \ - libx11-6 \ - libxcb1 \ - libxext6 \ - libxml2 \ - libva-drm2 \ - libva2 && \ - echo "************ clean up ************" && \ - rm -rf \ - /var/lib/apt/lists/* \ - /var/tmp/* + echo "* * * * * root bash /etc/cont-init.d/33-script-setup.bash" >> "/etc/crontab" WORKDIR /