This provides a Dockerfile based on Centos 6 which will prepare an environment for building FFMPEG together with a number of external libraries.
The Docker build will fetch all packages for building the project as well as download the source code of the various external libraries. Scripts are included for compiling and packaging the whole after the container is started. The end result is an RPM package with a statically compiled binary of FFMPEG.
docker build -t carroarmato0/ffmpeg:v1 .
docker run -i -v ${PWD}:/root/workspace -t carroarmato0/ffmpeg:v1 /bin/bash
cd ~
./compile.sh;
cd ~
./package.sh;