This is my custom docker image based on official php-fpm image with installed oci8 and few other extensions.
This image brings a few more extensions than the default PHP-fpm one.
- zip
- gdo
- opcache
- pdo_mysql
- tokenizer
- bcmath
- pcntl
- oci8
You can freely use this image as a base for your own docker images. Simply copy the following lines into your Dockerfile:
FROM silencesys/php-oci8:latest
COPY . /usr/src/myapp
WORKDIR /usr/src/myapp
CMD ["php-fpm"]
EXPOSE 9000
To modify php configuration.
COPY ./config/your_config.ini /usr/local/etc/php/conf.d/custom.ini
COPY ./config/pool.d/your_pool.conf /usr/local/etc/php-fpm.d/costum.conf
You also have the possibility to modify the default php settings as is described in php docs.
This image on it's own does not have any license, but take a look at licences of other software that is included.
As with all Docker images, these also likely contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).
As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.