This image is hosted on DockerHub. It contains a Yii2 Framework environment with Microsoft's SQL drivers along with an Apache server.
BASE IMAGE: yiisoftware/yii2-php:7.3-apache
LATEST VERSION: 2.0.0
Pull image from Docker Hub
docker pull tamuarchi/yii2-mssql
Alternatively, use image in a docker-compose file.
FROM tamuarchi/yii2-mssql:latest
Clone the repo
git clone git@github.com:architexas/yii2-mssql.git
Build the image
docker build .
Tag | Description |
---|---|
Latest | Tag 2.0.0 |
2.0.0 | Upgraded PHP, Debian, XDebug, Apache, MSSQL drivers and other dependencies |
1.1.2 | Removed idekey configuration to allow all IDEs to connect. |
1.1.1 | Changed XDebug port to 9000 and added a few more configurations. |
1.1.0 | Added Xdebug, more default settings, and more documentation |
1.0.1 | Added documentation on the image's structure |
1.0.0 | First image: PHP with MSSQL drivers and some additional tools |
- PHP 7.3.12
- Apache/2.4.38 (Debian) - Vulnerabilities List
- Microsoft ODBC Driver 17 for SQL Server
- Linux Debian 10.2
- apt-transport-https
- gettext
- git
- tree
- unzip
- vim
- wget
- Xdebug 2.9.2
NOTE: Xdebug has been enabled by default and configured to call ip
host.docker.internal
on9005
port in order to avoid conflicts with other applications and to bypass a network limitation on Mac OS.
A quick way to see the application structure is to run tree -L 3 --filelimit 20
in the root directory.
./
|-- app
| `-- APPLICATION CAN GO HERE (Recommended for Basic Template Applications)
|-- bin
|-- boot
|-- dev
|-- etc
|-- home
|-- lib
|-- lib64
|-- media
|-- mnt
|-- opt
| |-- microsoft
| `-- mssql-tools
|-- proc
|-- root
|-- run
| |-- apache2
| `-- lock
|-- sbin
|-- srv
|-- sys
|-- tmp
| `-- pear
|-- usr
|-- local
|-- etc
|-- php.ini (PHP Settings)
|-- conf.d
|-- xdebug.ini (Xdebug Settings)
|-- base.ini (PHP Settings)
`-- var
|-- backups
|-- cache
|-- lib
|-- local
|-- lock
|-- log
|-- mail
|-- opt
|-- run
|-- spool
|-- tmp
`-- www
`-- APPLICATION CAN GO HERE (Recommended for Advance Template Applications)
Jose Manriquez (@josejlm2)
Cory Thompson (@cthompson527)
Raul Jimenez (@rjimenezhsc)