Docker image: enable non-free for fdkaac's library

This commit is contained in:
Jonathan Sykes
2026-10-18 17:59:54 +08:00
parent b48d36b3dd
commit 249cfd1e42
2 changed files with 4 additions and 3 deletions

View File

@@ -16,9 +16,10 @@ FROM oven/bun:1-debian
# ca-certificates for HTTPS fetches from yt-dlp
# ffmpeg lets yt-dlp merge bestvideo+bestaudio into a single mp4 for the
# "Save before playing" download path (GET /api/download?mux=1)
# fdkaac (Debian contrib) encodes the compact HE-AAC audio phones can save;
# fdkaac (Debian contrib; its libfdk-aac2t64 is non-free) encodes the compact
# HE-AAC audio phones can save;
# ffmpeg's built-in AAC encoder only does AAC-LC.
RUN sed -i 's/^Components: main$/Components: main contrib/' /etc/apt/sources.list.d/debian.sources && \
RUN sed -i 's/^Components: main$/Components: main contrib non-free/' /etc/apt/sources.list.d/debian.sources && \
apt-get update -qq && \
apt-get install -y --no-install-recommends \
curl \