Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cmosh/alpine-php
php 7 docker image for convenience
https://github.com/cmosh/alpine-php
alpine apache composer docker laravel mongodb php redis
Last synced: about 1 month ago
JSON representation
php 7 docker image for convenience
- Host: GitHub
- URL: https://github.com/cmosh/alpine-php
- Owner: cmosh
- Created: 2017-07-24T15:07:52.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-25T18:08:42.000Z (over 7 years ago)
- Last Synced: 2024-11-12T21:42:57.548Z (3 months ago)
- Topics: alpine, apache, composer, docker, laravel, mongodb, php, redis
- Size: 19.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![](https://images.microbadger.com/badges/image/cmosh/alpine-php.svg)](https://microbadger.com/images/cmosh/alpine-php "Get your own image badge on microbadger.com") [![](https://images.microbadger.com/badges/version/cmosh/alpine-php.svg)](https://microbadger.com/images/cmosh/alpine-php "Get your own version badge on microbadger.com")
# APACHE, MOD_PHP7, COMPOSER ALPINE IMAGE## Goal
- To have a simple single image php solution, gives up some performance for convenience.
- Doing this mainatains the philosophy of one image one process without having multiple
images for a simple php app.## Configuration
- Configured for use for a laravel, redis and mongodb setup.
- Apache mod_rewrite is enabled.
## Installed php extensions
- ctype
- curl
- dom
- gd
- iconv
- intl
- json
- mbstring
- mcrypt
- mongodb
- opcache
- openssl
- pdo
- phar
- posix
- redis
- session
- tokenizer
- xml
- xmlwriter
- xsl
- zlib## Usage
- Just create a dockerfile with:
`FROM cmosh/alpine-php`
- Run docker build -t / .
- The ON BUILD commands will automatically install all vendor dependencies and package the app.