fix: enable non-free repo for unrar package in Debian

Unrar is in Debian's non-free repository, need to enable it first
by modifying /etc/apt/sources.list.d/debian.sources
This commit is contained in:
Laszlo Toth 2025-12-14 22:37:43 +01:00
parent 0a3b356e79
commit c8ca607de9

View file

@ -63,8 +63,9 @@ LABEL org.opencontainers.image.title="Bazarr (LavX Fork)" \
org.opencontainers.image.vendor="LavX" \
org.opencontainers.image.licenses="GPL-3.0"
# Install runtime dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
# Enable non-free repository for unrar and install runtime dependencies
RUN sed -i 's/Components: main/Components: main non-free non-free-firmware/' /etc/apt/sources.list.d/debian.sources && \
apt-get update && apt-get install -y --no-install-recommends \
ffmpeg \
libxml2 \
libxslt1.1 \