First build the docker image
docker build -t php-compatibility-checker .
Then you can use the runon
script to start the the check on the docker container. The path supplied can be relative (assumes you have readlink
installed on your machine) or absolute, and works to check that single location for all the PHP files not excluded by the ignore rules in the script:
./runon.sh ../../path/to/your/php/files
or:
./runon.sh /path/to/your/php/files