How do you guys install ffmpeg or libav inside a python-image?
opendeluxe opened this issue · 1 comments
opendeluxe commented
Steps to reproduce
Dockerfile:
FROM python:3.11
RUN mkdir /app
WORKDIR /app
RUN apt-get update && apt-get install -y gettext lsb-release default-libmysqlclient-dev python3.11-dev
RUN apt-get install libav-tools libavcodec-extra # or ffmpeg
Expected behavior
It should install libav
(or ffmpeg)
Actual behavior
ERROR: failed to solve: process “/bin/sh -c apt-get install libav-tools libavcodec-extra” did not complete successfully: exit code: 100
Your System configuration
- Python version: 3.11
- Pydub version: 0.25.1
- ffmpeg or avlib?: latest
- ffmpeg/avlib version: latest
Is there an audio file you can include to help us reproduce?
doesn't apply
opendeluxe commented
I missed the -y
flag. Then it works.