This repository contains Dockerfiles to be used for Akeneo PIM and other PHP or Symfony development/testing. Please do not use them for a production environment. Feel free to use/adapt them if they fit your needs.
These images do not contain Akeneo PIM.
- akeneo/php: An image with PHP CLI preconfigured, based on
debian:jessie-slim
ordebian:stretch-slim
- akeneo/fpm: An image with PHP FPM preconfigured, to be used with any PHP project, based on
akeneo/php
(needs to be run alongnginx
orhttpd
)
All images are available as follow:
PHP version | Based on | Corresponding tags |
---|---|---|
7.1 | Debian 9 "Stretch" with packages coming from Ondřej Surý repository | akeneo/php:7.1 |
akeneo/fpm:php-7.1 | ||
7.2 | Debian 9 "Stretch" with packages coming from Ondřej Surý repository | akeneo/php:7.2 |
akeneo/fpm:php-7.2 | ||
7.2 | Debian 9 "Stretch" with packages coming from Ondřej Surý repository | akeneo/php:7.3 |
akeneo/fpm:php-7.3 |
For all images, tag latest
is identical to the one corresponding to the most recent PHP version.
Akeneo 2.x is to be used only with PHP 7.1 (or higher), with php-fpm and Apache 2.4 with FCGI. Akeneo 3.x is to be used only with PHP 7.2 (or higher), with php-fpm and Apache 2.4 with FCGI.
If you are new to Docker, please start with the getting started section. And even if you are not new, it is a good start to understand how these images are intended to be used.
Then, you can find out how to use these images in detail:
- for PHP application development in the Symfony docker-compose section.
- for Akeneo development and behat testing in the official Akeneo documentation.
- for using XDebug on your IDEs please follow this guide.
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.
We gladly accept any contribution. Please check first if an issue does not already exists. If not, first create it to describe the feature or bug-fix you would like. If it already exists, then add a comment in it to tell us you are interested in doing it.
Please remember that to be merged, a PR must:
- be approved by at least one Akeneo Core team member,
- have a green CI,
- contain a new test (or set of tests) related to the new feature or bug-fix.
To know how to add tests, please read this documentation.
This content of this repository is under the MIT license. See the complete license in the LICENSE file.