/alpine-php

Alpine in a Docker container for PHP for 5.6, 7, 7.1, 7.2 and 7.3

Primary LanguageDockerfileApache License 2.0Apache-2.0

Alpine PHP

Build Status Docker Pulls

Minimal PHP Docker images based on Alpine. Contains tags for development environments and adapted for various frameworks like Symfony and Wordpress.

Documentation

Read about Documentation and see some examples here

Images

Usage:

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

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...

General purpose Symfony Wordpress
7.3-dev, 7.2-front
7.2-dev, 7.2-front 7.2-dev-sf, 7.2-front-sf 7.2-dev-wp
7.1-dev, 7.1-front 7.1-dev-sf, 7.1-front-sf 7.1-dev-wp
5.6-dev 5.6-dev-sf 5.6-dev-wp

Content table

Tag Parent Content Image Layers
7.1 alpine tini, php7.1-cli & fpm
7.1-dev 7.1 + SSH server, xdebug, ant, composer
7-dev-sf 7.1-dev + Symfony aliases
7.1-front 7.1-dev + node6 & npm3 & yarn
7.2 alpine tini, php7.2-cli & fpm
7.2-dev 7.2 + SSH server, xdebug, composer
7.2-dev-sf 7.2-dev + Symfony aliases
7.2-front 7.2-dev + node6 & npm3 & yarn
5.6 alpine tini, php5.6-cli & fpm
5.6-wp 5.6 + upload-volume
5.6-dev 5.6 + SSH server, xdebug, ant, composer
5.6-dev-sf 5.6-dev + Symfony aliases
5.6-dev-wp 5.6-dev + wp-cli, wp-autocompletion