This is a slightly modified version of the offical php-cli-alpine Docker image. I have added git and zip so I can use this to build composer packages.
I use this to work on php without having to install it on my system.
Example usage:
docker run -it --net=host -v /${PWD}:/workdir -w //workdir mapitman/php-cliI use --net=host to make it easier to connect to my
mitmproxy container.