|
|
@ -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
|
|
|
|