Are you tired of having dozens of php versions?
This little Dockerfile and docker-compose should please you
You just need to clone this two files :
- Dockerfile
- docker-compose.yml
If you want to change PHP version, you can change this line :
FROM php:7.3-apache
Docker-compose is the orchestrator of three services :
- web (with PHP)
- db (database with mysql:8.0)
- PhpMyAdmin
TODO : dissociate PHP and Apache.