This is a docker container for PHP 7 mainly the cli. Alpine Linux base image and compiles PHP after cloning it from php source git repo. This image is based on this tutorial.
To pull the docker image you can do it with:
docker pull geshan/php7-alpine
Then run the following commands to run php 7:
docker run -v $(pwd):/var/www geshan/php7-alpine "php --version"
Run:
docker run -it $(pwd):/var/www geshan/php7-alpine /bin/sh
Then run your commands with php.