Sign inSign up

ambimax/php7.2-cli-stretch

By ambimax

•Updated over 5 years ago

Image
0

4.1K

ambimax/php7.2-cli-stretch repository overview

⁠Docker Repository for PHP images

Build Status

Repository for generating php docker images used for Magento and other php projects.

⁠Docker Images

⁠PHP Modules

  • apcu
  • bcmath
  • calendar
  • Core
  • ctype
  • curl
  • date
  • dom
  • exif
  • fileinfo
  • filter
  • ftp
  • gd
  • gettext
  • gmp
  • hash
  • iconv
  • igbinary
  • intl
  • json
  • libxml
  • lzf
  • mbstring
  • mcrypt (Deprecated and removed in php7.2)
  • memcached
  • mysqli
  • mysqlnd
  • openssl
  • pcre
  • PDO
  • pdo_mysql
  • pdo_sqlite
  • pdo_pgsql
  • pgsql
  • Phar
  • posix
  • readline
  • redis
  • Reflection
  • session
  • SimpleXML
  • soap
  • sockets
  • SPL
  • sqlite3
  • standard
  • tidy
  • tokenizer
  • xml
  • xmlreader
  • xmlwriter
  • xsl
  • Zend OPcache
  • zip
  • zlib

⁠Differences between CLI and FPM

cli contains also the following tools:

  • codeception
  • composer
  • git
  • modman⁠
  • mysql-client
  • nano
  • phpcbf3
  • phpcs3
  • phpmd
  • phpunit5
  • phpunit6
  • phpunit7 (>= php7.1)
  • redis-cli
  • unzip
  • wget
  • zettr⁠

Since PHP 7.4 and 7.3 won't be used in magento1 some tools have been removed in this image.

Therefor php7.4-cli-buster and php7.3-cli-buster contains the following tools:

  • codecept
  • composer
  • composer2
  • git
  • mhsendmail
  • mysql-client
  • phpcbf3
  • phpcs3
  • phpmd
  • phpunit8
  • phpunit9
  • php-cs-fixer
  • redis-cli
  • n98-magerun
  • n98-magerun2

⁠Environment Variables

  • DEBUG Enable debug output in container
  • PHP_ENABLE_XDEBUG Enable XDebug

⁠Testing

⁠Workflow for adding changes to image

Enter desired image base path

cd 7.0/stretch/cli

Create new image:

make build-image

Run tests before committing any changes

make test

⁠License

MIT License⁠

⁠Author Information

Tag summary

Content type

Image

Digest

Size

356.9 MB

Last updated

over 5 years ago

docker pull ambimax/php7.2-cli-stretch