Update to use Python3

This commit is contained in:
chbmb 2019-12-02 23:39:10 +00:00 committed by Ryan Kuba
parent e6cf9c72bb
commit fa8979b2c6
4 changed files with 10 additions and 13 deletions

View File

@ -16,15 +16,14 @@ RUN \
gcc \
libxml2-dev \
libxslt-dev \
py2-pip \
python2-dev && \
python3-dev && \
echo "**** install packages ****" && \
apk add --no-cache \
curl \
ffmpeg \
libxml2 \
libxslt \
python2 \
python3 \
unrar \
unzip && \
echo "**** install bazarr ****" && \
@ -42,7 +41,7 @@ RUN \
/app/bazarr --strip-components=1 && \
rm -Rf /app/bazarr/bin && \
echo "**** Install requirements ****" && \
pip install --no-cache-dir -U -r \
pip3 install --no-cache-dir -U -r \
/app/bazarr/requirements.txt && \
echo "**** clean up ****" && \
apk del --purge \

View File

@ -16,15 +16,14 @@ RUN \
gcc \
libxml2-dev \
libxslt-dev \
py2-pip \
python2-dev && \
python3-dev && \
echo "**** install packages ****" && \
apk add --no-cache \
curl \
ffmpeg \
libxml2 \
libxslt \
python2 \
python3 \
unrar \
unzip && \
echo "**** install bazarr ****" && \
@ -42,7 +41,7 @@ RUN \
/app/bazarr --strip-components=1 && \
rm -Rf /app/bazarr/bin && \
echo "**** Install requirements ****" && \
pip install --no-cache-dir -U -r \
pip3 install --no-cache-dir -U -r \
/app/bazarr/requirements.txt && \
echo "**** clean up ****" && \
apk del --purge \

View File

@ -16,15 +16,14 @@ RUN \
gcc \
libxml2-dev \
libxslt-dev \
py2-pip \
python2-dev && \
python3-dev && \
echo "**** install packages ****" && \
apk add --no-cache \
curl \
ffmpeg \
libxml2 \
libxslt \
python2 \
python3 \
unrar \
unzip && \
echo "**** install bazarr ****" && \
@ -42,7 +41,7 @@ RUN \
/app/bazarr --strip-components=1 && \
rm -Rf /app/bazarr/bin && \
echo "**** Install requirements ****" && \
pip install --no-cache-dir -U -r \
pip3 install --no-cache-dir -U -r \
/app/bazarr/requirements.txt && \
echo "**** clean up ****" && \
apk del --purge \

View File

@ -4,5 +4,5 @@ UMASK_SET=${UMASK_SET:-022}
umask "$UMASK_SET"
exec \
s6-setuidgid abc python /app/bazarr/bazarr.py \
s6-setuidgid abc python3 /app/bazarr/bazarr.py \
--no-update --config /config