How do I keep pip from compiling av
, if I have python3-av
installed through apt
?
I'm performing a multi-arch Docker build with a Dockerfile that looks like this:
FROM python:3-bullseye
RUN apt-get update && apt-get install -y python3-av
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
One of the requirements (auto-editor
) requires av
.
On ARM64 it attempts to build av
from source, which takes more than 10 minutes.
How do I keep pip
from installing av
anew?