Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/greeflas/docker-php
PHP docker images with composer, git and nano. Based on official PHP docker images.
https://github.com/greeflas/docker-php
docker dockerfiles php-docker php-docker-image php-docker-stack
Last synced: about 1 month ago
JSON representation
PHP docker images with composer, git and nano. Based on official PHP docker images.
- Host: GitHub
- URL: https://github.com/greeflas/docker-php
- Owner: greeflas
- License: mit
- Created: 2018-02-01T15:34:46.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-03-17T21:29:39.000Z (over 3 years ago)
- Last Synced: 2023-08-23T16:47:44.507Z (about 1 year ago)
- Topics: docker, dockerfiles, php-docker, php-docker-image, php-docker-stack
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/greeflas/php/
- Size: 12.7 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
PHP Docker Images
[![Docker Pulls](https://img.shields.io/docker/pulls/greeflas/php.svg)](https://hub.docker.com/r/greeflas/php/)
[![Docker Build Status](https://img.shields.io/docker/cloud/build/greeflas/php.svg)](https://hub.docker.com/r/greeflas/php/)
[![Docker Automated build](https://img.shields.io/docker/automated/greeflas/php.svg)](https://hub.docker.com/r/greeflas/php/)PHP docker images with composer, git and nano. Based on official PHP docker images.
Supported tags and respective `Dockerfile` links
------------------------------------------------* `7.4-fpm`, `latest` ([fpm/7.4/Dockerfile](https://github.com/greeflas/docker-php/blob/master/fpm/7.4/Dockerfile))
* `7.3-fpm` ([fpm/7.3/Dockerfile](https://github.com/greeflas/docker-php/blob/master/fpm/7.3/Dockerfile))
* `7.2-fpm` ([fpm/7.2/Dockerfile](https://github.com/greeflas/docker-php/blob/master/fpm/7.2/Dockerfile))
* `7.1-fpm` ([fpm/7.1/Dockerfile](https://github.com/greeflas/docker-php/blob/master/fpm/7.1/Dockerfile))
* `7.0-fpm` ([fpm/7.0/Dockerfile](https://github.com/greeflas/docker-php/blob/master/fpm/7.0/Dockerfile))
* `5.6-fpm` ([fpm/5.6/Dockerfile](https://github.com/greeflas/docker-php/blob/master/fpm/5.6/Dockerfile))Usage
-----Access container
`$ docker run -it --rm -v "$PWD":/var/www/app greeflas/php:7.4-fpm bash`
Docker-compose
```yaml
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`