danielnunez / docker-php-alpine

minimal (ish) php images in alpine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP Alpine Base Images

Build Status Docker Pulls Image Size

Public image for php in alpine with a set of common extensions

Images

PHP Modules

apcu (PHP 7.0 +), bcmath, Core, ctype, curl, date, dom, ev, fileinfo, filter, hash, iconv (with a fix), intl, json, libxml, mbstring, memcached, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, readline, Reflection, session, SimpleXML, soap, sockets, sodium (PHP 7.2 +), SPL, standard, tokenizer, xml, xmlreader, xmlwriter, yaml (not PHP 7.0), Zend OPcache, zip, zlib

Testing Images

Testing images are the same as the standard, but with xdebug (php 5.6) or phpdbg (php 7.* and 8.*)

Testing PHP Modules

All of the above modules, xdebug (PHP 5.6 only, PHP 7.0+ uses phpdbg)

Dev

make build-quick
make tag test

Pulling

docker pull graze/php-alpine

Usage

docker run --rm graze/php-alpine -v $(pwd):/srv php some/script.php

Running with phpdbg

docker run --rm graze/php-alpine:test -v $(pwd):/srv phpdbg7 some/script.php

About

minimal (ish) php images in alpine

License:MIT License


Languages

Language:Shell 58.2%Language:Dockerfile 34.6%Language:Makefile 7.2%