dockerffmpeg

How can I install ffmpeg to my docker image


I have setup a docker image in my Windows 10 Machine. Can you please tell me how can I install ffmpeg to that docker image?


Solution

  • In your dockerfile you can write this command to add required repo, update your repository and then install ffmpeg.

    Though I am not sure if this library still exist I just modified this Link for Docker you can follow same rules to install another package.

    RUN set -x \
        && add-apt-repository ppa:mc3man/trusty-media \
        && apt-get update \
        && apt-get dist-upgrade \
        && apt-get install -y --no-install-recommends \
            ffmpeg \