webdevops/php-docker-boilerplate

php-module install

dgram opened this issue · 2 comments

dgram commented

hi,

is there a way to add an extra php-module for example php-imap?

regards

It's based on the image:
With distribution image use the package system to install the modules.

eg. for debian based images use:

RUN apt-install your-package-name inside your Dockerfile to install some stuff.

In the official images :5.6, :7.0 and :7.1 see https://hub.docker.com/_/php/ for more details.

dgram commented

thx perfectly