This is a docker container for PHP 7 mainly the cli. Alpine Linux base image and compiles PHP7.
10K+
Just use the official PHP images from docker hub it has PHP7 on Alpine between 98 - 170 Mbs which is amazing.
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.
Content type
Image
Digest
sha256:ffa3592dd…
Size
383.8 MB
Last updated
over 10 years ago
docker pull geshan/php7-alpine