Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/jorge07/alpine-php

Multi Arch Alpine PHP Docker images. 5.6, 7{0,1,2,3,4}, 8.{1,2,3}
https://github.com/jorge07/alpine-php

alpine alpine-php composer docker docker-php environment php php7 production-ready symfony wordpress xdebug

Last synced: 3 months ago
JSON representation

Multi Arch Alpine PHP Docker images. 5.6, 7{0,1,2,3,4}, 8.{1,2,3}

Awesome Lists containing this project

README

        

# Alpine PHP

[![All Contributors](https://img.shields.io/badge/all_contributors-4-orange.svg?style=flat-square)](#contributors-)

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

[![PR checks](https://github.com/jorge07/alpine-php/actions/workflows/pr.yaml/badge.svg?branch=master)](https://github.com/jorge07/alpine-php/actions/workflows/pr.yaml) ![Docker Pulls](https://img.shields.io/docker/pulls/jorge07/alpine-php.svg?style=flat-square)

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

Up to date with [active releases](https://www.php.net/supported-versions.php) and a place for older unmaintained images.

## Documentation

[Read about Documentation and see some examples here](https://github.com/jorge07/alpine-php/tree/master/doc/README.md)

## Images

- [8.3](https://github.com/jorge07/alpine-php/blob/master/8.3/Dockerfile)
- [8.2](https://github.com/jorge07/alpine-php/blob/master/8.2/Dockerfile)
- [8.1](https://github.com/jorge07/alpine-php/blob/master/8.1/Dockerfile)

# Deprecated but available images

- [8.0](https://github.com/jorge07/alpine-php/blob/master/8.0/Dockerfile)
- [7.4](https://github.com/jorge07/alpine-php/blob/master/7.4/Dockerfile)
- [7.3](https://github.com/jorge07/alpine-php/blob/master/7.3/Dockerfile)
- [7.2](https://github.com/jorge07/alpine-php/blob/master/7.2/Dockerfile)
- [7.1](https://github.com/jorge07/alpine-php/blob/master/7.1/Dockerfile)
- [5.6](https://github.com/jorge07/alpine-php/blob/master/5.6/Dockerfile)

## Usage:

```sh
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](https://allcontributors.org/docs/en/emoji-key)):



Kajetan

💻

Luis

💻

Krzysztof Kowalski

💻

Ismael

💻

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!