philippe-vandermoere / docker-php
build php docker image.
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 0
Forks: 0
Open Issues: 0
Language:Shell
This package is auto-updated.
Last update: 2024-10-29 05:28:40 UTC
README
Build a alpine php docker image with:
- php
- The default php extensions:
- ctype
- curl
- date
- dom
- fileinfo
- filter
- ftp
- hash
- iconv
- json
- libxml
- mbstring
- mysqlnd
- openssl
- pcre
- PDO
- pdo_sqlite
- Phar
- posix
- readline
- Reflection
- session
- SimpleXML
- sockets
- SPL
- sqlite3
- standard
- tokenizer
- xml
- xmlreader
- xmlwriter
- zlib
- composer
- bash
- git
- user: www-data
Usage
php 7.3.5 with xdebug, gd
./bin/docker-php --version 7.3.5 --extensions 'gd xdebug' -t php_custom:7.3.5-dev
php 7.3.5 with gd
./bin/docker-php --version 7.3.5 --extensions gd -t php_custom:7.3.5
php 7.2.17
./bin/docker-php --version 7.2.17 -t php_custom:7.2.17