Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.