mirror of
https://github.com/linuxserver/docker-bazarr.git
synced 2026-02-20 01:02:49 +08:00
Update to use Python3
This commit is contained in:
parent
e6cf9c72bb
commit
fa8979b2c6
@ -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 \
|
||||
|
||||
@ -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 \
|
||||
|
||||
@ -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 \
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user