Sign inSign up

symball/php_symfony_alpine

By symball

Updated over 9 years ago

PHP on Alpine Linux for use with Symfony projects (supporting MySQL, MongoDB and MongoDB Legacy)

Image
0

1.8K

symball/php_symfony_alpine repository overview

PHP Docker Image for Symfony Development

This repository contains various versions of PHP built on Alpine Linux (making them lightweight) for use with Symfony development whether using MySQL, Mongo or the Mongo classic Driver. Please refer to the Docker Hub page for further information

Usage

By default, each container will run as root due to no users being created which is not so useful if you plan on using these images for development so, the recommended method of launch is to extend them and configure users as you normally would.

For an example of how these Docker images should be used, take a look at my Github: Symfony tutorial.

PHP-FPM

As a platform for serving your project:

master (latest) version 7 with support for MySQL

php5 Version 5 with support for MySQL

php5_mongo Version 5 with support for Mongo Driver

php5_mongolegacy Version 5 with support for Mongo legacy Driver

Toolchain

The toolchain is an extension of PHP-FPM designed to be used as a shell. It does not start PHP-FPM but instead launches the Bash shell. Extra features of the Toolchain include:

  • The Symfony dedicated installer
  • Composer
  • PHPUnit
  • Phing
  • gulpJS task runner
  • bower

toolchain To be used with master(latest)

php5_toolchain To be used with php5

php5_mongo_toolchain To be used with php5_mongo

php5_mongolegacy_toolchain To be used with php5_mongolegacy

Todo

[ ] Add PHP7 Mongo version

Tag summary

Content type

Image

Digest

Size

25.6 MB

Last updated

over 9 years ago

docker pull symball/php_symfony_alpine