A few weeks ago, the need for a pre-built PHP Docker image that included drivers and the PHP environment was raised in the following issues https://github.com/Microsoft/msphpsql/issues/168, https://github.com/Microsoft/mssql-docker/issues/4#issuecomment-272657395.
For this purpose, we have created a Docker image for PHP and pdo_sqlsrv: https://github.com/Microsoft/mssql-docker/tree/master/developer-resources/php-mssql
This can also be pulled from lbosqmsft/php-mssql.
Would these simplify developing with OSS frameworks? What other languages would be important to cover?
@LuisBosquez would it make sense to publish the download links under 'releases'?
I'd guess most people would look there ;-)
Maybe add mssql-tools as well?
This type of images really depend on each project, my needs and easy install I make my one with centos.
This can also be pulled from reynier3mil/centos-php-fpm-msphpsql.
These really simplify developing and using SSMS 17 RC | VS 2015 + SSDT RC all my needs are covered.
@sirio3mil curious, how does the OS layer make a difference for a developer scenario?
@LuisBosquez for linux developers maybe none but for me, a windows user, CentOS is much easy to configure and install, I know where I can find repos and how use it. That's all.
I too am more familiar with Linux than windows but am more familiar with SQLServer so sqlserver on Linux is perfect.
@LuisBosquez in particular with this image as much as I can come to understand you use apache library unlike me that uses php-fpm for other browser such as nginx or shimmercat. This is the main difference by which I make my own.
We have created the following dev images using feedback from above, as well as from msphpsql, tedious and pyodbc projects.
• PHP: https://hub.docker.com/r/lbosqmsft/mssql-php-msphpsql/
• Node.js: https://hub.docker.com/r/lbosqmsft/mssql-nodejs-tedious/
• Python: https://hub.docker.com/r/lbosqmsft/mssql-python-pyodbc/
The Dockerfiles can be found under: https://github.com/Microsoft/mssql-docker/tree/master/oss-drivers
@sirio3mil @gigatexal @mi-hol @boboldehampsink thoughts?
These images are meant to be extended to increase the functionality (add libraries, HTTP daemons, etc).
Let us know if there's any feedback!
I couldn't make nginx working. Someone has done it?
Most helpful comment
@LuisBosquez in particular with this image as much as I can come to understand you use apache library unlike me that uses php-fpm for other browser such as nginx or shimmercat. This is the main difference by which I make my own.