Skip to content

Alpine in a Docker container for PHP for 5.6, 7{0,1,2,3,4}, 8.0 and 8.1

License

Notifications You must be signed in to change notification settings

hamza-pms/alpine-php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alpine PHP

All Contributors

Repository of https://hub.docker.com/r/jorge07/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 2323:22 -v $PWD:/app jorge07/alpine-php:8.1-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...

General purpose Symfony Wordpress
8.1-dev
8.0-dev
7.4-dev
7.3-dev
7.2-dev, 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
8.1 alpine tini, php8.1cli & fpm
8.1-dev 8.1 + SSH server, xdebug, composer
8.0 alpine tini, php8-cli & fpm
8.0-dev 8.0 + SSH server, xdebug, composer
7.4 alpine tini, php7.4-cli & fpm
7.4-dev 7.4 + SSH server, xdebug, composer
7.3 alpine tini, php7.3-cli & fpm
7.3-dev 7.3 + SSH server, xdebug, ant, composer
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
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
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

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!

About

Alpine in a Docker container for PHP for 5.6, 7{0,1,2,3,4}, 8.0 and 8.1

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 67.6%
  • Shell 20.9%
  • Makefile 11.2%
  • PHP 0.3%