diff --git a/Dockerfile b/Dockerfile index bed137a..69e773f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index bfee541..d3e38dc 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -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 \ diff --git a/Dockerfile.armhf b/Dockerfile.armhf index 1e10e46..3abfc65 100644 --- a/Dockerfile.armhf +++ b/Dockerfile.armhf @@ -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 \ diff --git a/root/etc/services.d/bazarr/run b/root/etc/services.d/bazarr/run index 330b669..7057794 100644 --- a/root/etc/services.d/bazarr/run +++ b/root/etc/services.d/bazarr/run @@ -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