jorge07 / alpine-php

Multi Arch Alpine PHP Docker images. 5.6, 7{0,1,2,3,4}, 8.{1,2,3}
https://hub.docker.com/r/jorge07/alpine-php/
Apache License 2.0
129 stars 54 forks source link
alpine alpine-php composer docker docker-php environment php php7 production-ready symfony wordpress xdebug

Alpine PHP

All Contributors

Repository of https://hub.docker.com/r/jorge07/alpine-php

PR checks Docker Pulls

Small PHP Docker images based on Alpine [<40MB].

Up to date with active releases and a place for older unmaintained images.

Documentation

Read about Documentation and see some examples here

Images

Deprecated but available images

Usage:

docker run -d --name dev -p 2323:22 -v $PWD:/app jorge07/alpine-php:8.3-dev

To make xdebug config easier for all environments there's a custom ENVVAR you can define: XDEBUG_CLIENT_HOST. Example: XDEBUG_CLIENT_HOST=docker.for.mac for OSX, XDEBUG_CLIENT_HOST=docker.for.windows for Windows users and Linux users and Remote interpreters by SSH can leave it empty.

SSH is only for IDE integration to use container as remote interpreter

Dev Dockerfiles

Dev images extend the standard ones and add some tools for development and CI like, composer, xdebug, etc...

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Kajetan

💻

Luis

💻

Krzysztof Kowalski

💻

Ismael

💻

This project follows the all-contributors specification. Contributions of any kind welcome!