This Dockerfile is a basic environment for PHP development and testing, based on debian:stretch-slim, depending of PHP version (see the supported tag list below).
It comes with the following PHP extensions: apcu, curl, gd, intl, mysql, xml, zip and xdebug (this last one is deactivated by default, run the container with -e PHP_XDEBUG_ENABLED=1 to enable it).
Extensions mcrypt and mongo are also present on PHP 7.1 for backward compatibility.
This image does not contain Akeneo PIM.
Dockerfile links7.3, latest (Dockerfile): The environment comes with Debian 9 (Stretch) with PHP 7.3 from Sury repository7.2 (Dockerfile): The environment comes with Debian 9 (Stretch) with PHP 7.2 from Sury repository7.1 (Dockerfile): The environment comes with Debian 9 (Stretch) with PHP 7.1 from Sury repositoryYou can directly pull this image from Docker hub by running:
$ docker pull akeneo/php
Clone the repository, go inside the created folder, and build the docker image:
$ docker build -t akeneo/php .
Full documentation is accessible here
This image is under the MIT license. See the complete license in the LICENSE file.
Content type
Image
Digest
Size
143.6 MB
Last updated
about 5 years ago
Requires Docker Desktop 4.37.1 or later.