Note:
This image is transitioning from a simple dev image to a more configurable and extensible image
Therefore it is currently being pushed into two different docker repositories:
(old:) https://hub.docker.com/r/chrisb9/php8-nginx-xdebug
(new:) https://hub.docker.com/r/chrisb9/php8
There are three image configurations in two different types:
| Image Type | Image Variant | With nginx |
|---|---|---|
| Alpine | dev and prod | yes |
| Debian | dev and prod | yes |
| CLI | dev and prod | no |
planned:
This repository does only provide Dockerfiles for php 8.0 and upwards.
If there is enough traction, I might add PHP 7.4 too (or feel free to add it)
If docker socket has been mounted as a volume into the container,
then each startup checks the availability of the docker command and if not available installs it.
Note: This is currently only available in alpine images: WIP
Some xdebug settings have been preconfigured, such as:
xdebug.mode=profile,develop,coveragexdebug.client_port=9003xdebug.discover_client_host=1xdebug.idekey=PHPSTORMThrough the environment-variable XDEBUG_HOST the client_host can be changed on login
xdebug-enable enabled xdebug and restarts phpxdebug-disable disables xdebug and restarts phpjust run git clone && docker-compose up -d
then open up your browser and go to this container.
in the app-folder are two files index.php and Test.php. They are meant as a playground to test the newest features of php 8.0
todo...
Content type
Image
Digest
Size
547.3 MB
Last updated
over 5 years ago
docker pull chrisb9/php8-nginx-xdebug