Sign inSign up

cmosh/alpine-php

By cmosh

Updated about 9 years ago

Alpine php7 apache container for convenience

Image
1

1.1K

cmosh/alpine-php repository overview

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 <yourusername>/<yourapp> .

- The ON BUILD commands will automatically install all vendor dependencies and package the app.

Tag summary

Content type

Image

Digest

Size

26.8 MB

Last updated

about 9 years ago

docker pull cmosh/alpine-php