PHP docker images with composer, git and nano. Based on official PHP docker images.
7.4-fpm
,latest
(fpm/7.4/Dockerfile)7.3-fpm
(fpm/7.3/Dockerfile)7.2-fpm
(fpm/7.2/Dockerfile)7.1-fpm
(fpm/7.1/Dockerfile)7.0-fpm
(fpm/7.0/Dockerfile)5.6-fpm
(fpm/5.6/Dockerfile)
Access container
$ docker run -it --rm -v "$PWD":/var/www/app greeflas/php:7.4-fpm bash
Docker-compose
services:
# PHP FPM
php-fpm:
image: greeflas/php-fpm:7.4
container_name: php-fpm
volumes:
- ./:/var/www/app
working_dir: /var/www/app
$ docker-compose exec php-fpm bash