# Builds CouchRelay's minimal FFmpeg for Linux and, cross-compiled with MinGW, for Windows
# (packaging/ffmpeg/build.sh). Debian 12, like packaging/linux/Dockerfile, so the Linux libraries
# need no newer glibc than the programs that load them (the same base image).
FROM rust:1.92-bookworm
RUN apt-get update \
 && apt-get install -y --no-install-recommends \
      build-essential pkg-config nasm curl ca-certificates xz-utils \
      gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 binutils-mingw-w64-x86-64 \
      libva-dev libdrm-dev \
 && rm -rf /var/lib/apt/lists/*
