v1.0.7 - docker file updates

master
RandomNinjaAtk 4 years ago committed by GitHub
parent d6350af634
commit 1bc3e2a5e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,7 +2,7 @@ FROM linuxserver/sabnzbd
LABEL maintainer="RandomNinjaAtk" LABEL maintainer="RandomNinjaAtk"
ENV TITLE="SABnzbd Extended" ENV TITLE="SABnzbd Extended"
ENV VERSION="1.0.4" ENV VERSION="1.0.7"
ENV SMA_PATH /usr/local/sma ENV SMA_PATH /usr/local/sma
ENV VIDEO_LANG eng ENV VIDEO_LANG eng
ENV VIDEO_SMA FALSE ENV VIDEO_SMA FALSE
@ -21,7 +21,6 @@ RUN \
add-apt-repository ppa:jonathonf/ffmpeg-4 -y && \ add-apt-repository ppa:jonathonf/ffmpeg-4 -y && \
echo "************ install and update packages ************" && \ echo "************ install and update packages ************" && \
apt-get update && \ apt-get update && \
apt-get upgrade -y && \
apt-get install -y \ apt-get install -y \
mkvtoolnix \ mkvtoolnix \
mp3val \ mp3val \
@ -31,8 +30,7 @@ RUN \
git \ git \
ffmpeg \ ffmpeg \
python3 \ python3 \
python3-pip \ python3-pip && \
ffmpeg && \
apt-get purge --auto-remove -y && \ apt-get purge --auto-remove -y && \
apt-get clean && \ apt-get clean && \
echo "************ setup SMA ************" && \ echo "************ setup SMA ************" && \
@ -48,7 +46,7 @@ RUN \
chmod g+w ${SMA_PATH}/config/sma.log && \ chmod g+w ${SMA_PATH}/config/sma.log && \
echo "************ install pip dependencies ************" && \ echo "************ install pip dependencies ************" && \
python3 -m pip install --user --upgrade pip && \ python3 -m pip install --user --upgrade pip && \
pip3 install -r ${SMA_PATH}/setup/requirements.txt pip3 install -r ${SMA_PATH}/setup/requirements.txt
# copy local files # copy local files

Loading…
Cancel
Save