Skip to content

Commit

Permalink
fix(bazarr): use python 3.11 base image (#1037)
Browse files Browse the repository at this point in the history
  • Loading branch information
onedr0p authored May 22, 2024
1 parent 58ecd65 commit ed01518
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
21 changes: 10 additions & 11 deletions apps/bazarr/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/library/alpine:3.19
FROM docker.io/library/python:3.11-alpine

ARG TARGETPLATFORM
ARG VERSION
Expand Down Expand Up @@ -30,23 +30,22 @@ RUN \
jq \
mediainfo \
nano \
py3-cryptography \
py3-gevent \
py3-lxml \
py3-numpy \
py3-pillow \
py3-psycopg2 \
py3-setuptools \
python3 \
tzdata \
unzip \
&& \
apk add --no-cache --virtual .build-deps \
py3-pip \
gcc \
python3-dev \
libffi-dev \
musl-dev \
postgresql-dev \
&& \
pip install --upgrade "cryptography>=42.0.7" \
pip install --upgrade "gevent>=24.2.1" \
pip install --upgrade "lxml>=4.3.0, <5.0.0" \
pip install --upgrade "numpy>=1.12.0" \
pip install --upgrade --only-binary=Pillow "Pillow>=9.0.0" \
pip install --upgrade "psycopg2>=2.9.9" \
pip install --upgrade "setuptools>=70.0.0" \
pip install --upgrade "webrtcvad-wheels>=2.0.10" \
&& \
curl -fsSL -o /tmp/app.zip "https://github.com/morpheus65535/bazarr/releases/download/v${VERSION}/bazarr.zip" \
Expand Down
4 changes: 2 additions & 2 deletions apps/bazarr/ci/goss.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/goss-org/goss/master/docs/schema.yaml
process:
python3:
python:
running: true
port:
tcp:6767:
Expand All @@ -10,7 +10,7 @@ http:
http://localhost:6767:
status: 200
file:
/usr/bin/python3:
/usr/local/bin/python:
exists: true
/usr/bin/unrar:
exists: true
2 changes: 1 addition & 1 deletion apps/bazarr/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#shellcheck disable=SC2086
exec \
/usr/bin/python3 \
/usr/local/bin/python \
/app/bazarr.py \
--no-update \
--config /config \
Expand Down

0 comments on commit ed01518

Please sign in to comment.