Docker CLI
IMPORTANT : Docker image with latest tag use the PHP 8.1 runtime !
Please mount your system temporary folder to
/home/appuser/.cache/bartlettin the container.NOTE: On most Linux distribution, it should be
/tmpDon't forget to also mount your source code to
/appfolder (i.e) in the container and make it as the current working directory
docker run --rm -it -u "$(id -u):$(id -g)" \
-v /tmp:/home/appuser/.cache/bartlett \
-v ${PWD}:/app \
-w /app \
ghcr.io/llaville/php-compatinfo:latest
Then you can run any commands supported by application : db:*, diagnose, about, analyser:run, rule:list