/Dockerfiles

My PHP Dockerfiles

Primary LanguageShellMIT LicenseMIT

My Dockerfiles

This repository contains my own docker images I use for Akeneo and other Symfony development. Feel free to use/adapt them if they fit your needs.

Master php-7.1 php-7.0 php-5.6
Build status Build status Build status Build status

Images available

  • carcel/php: Base image with PHP CLI preconfigured, based on debian:jessie-slim
  • carcel/fpm: An image with PHP FPM preconfigured to be use with any Symfony project, based on carcel/php
  • carcel/apache-php: An image with Apache + mod_php preconfigured to be use with any Symfony project, based on carcel/php
  • carcel/akeneo-apache: An image for Akeneo development with Apache + mod_php, based on carcel/apache-php
  • carcel/akeneo-fpm: An image for Akeneo development with PHP FPM, based on carcel/fpm
  • carcel/nginx: An image with nginx preconfigured (to use with FPM images), based on official nginx

Tags available

Four branches are maintained, all based on debian:jessie:

  • php-5.6 provides images with native Jessie PHP 5.6. Corresponding tag is php-5.6, except for carcel/php and carcel/fpm images, which simply use the tag 5.6.
  • php-7.0 provides images with native Jessie PHP 5.6. Corresponding tag is php-7.0, except for carcel/php and carcel/fpm images, which simply use the tag 7.0.
  • php-7.1 provides images with native Jessie PHP 5.6. Corresponding tag is php-7.1, except for carcel/php and carcel/fpm images, which simply use the tag 7.1.
  • master provides images with native Jessie PHP 5.6. Corresponding tag is latest, and its images are exactly the same than php-7.1 tag. nginx image is only present on master branch, and so only available with the tag latest.

How to use these images?

If you are new to Docker, please start with the getting started section.

Then, you can find out how to use these images for Akeneo development and testing in the Docker compose section.

Please read carefully the troubleshoothing section if you encounter any problem. If your problem is not listed in it, don't hesitate to open an issue.

License

This content of this repository is under the MIT license. See the complete license in the LICENSE file.