From c8ca607de928b4c8a72bdd5cc7b71e867705bf3c Mon Sep 17 00:00:00 2001 From: Laszlo Toth Date: Sun, 14 Dec 2025 22:37:43 +0100 Subject: [PATCH] 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 --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0536d817d..7229cbd33 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \