PHP 8.5.12 Alpine 3.24 complete for Laravel dev/CI
283
PHP 8.5.12 on Alpine 3.24, complete flavour: a Laravel development and CI image by Dolphiq, used by dqx.
| Tag | Moves when |
|---|---|
:X.Y.Z | never |
:X.Y | PHP, MySQL client, npm and tool patches; same distro and Node major |
:X | also Node majors, distro minors and added extensions |
:latest | every release; for trying out only |
Pin :X.Y in projects, currently dolphiq/dqx-php85-alpine-complete:0.1 (0.1.1).
# docker-compose.yml
services:
app:
image: dolphiq/dqx-php85-alpine-complete:0.1
environment:
PHP_MEMORY_LIMIT: 1G
# bitbucket-pipelines.yml
image: dolphiq/dqx-php85-alpine-complete:0.1
Versions read from dolphiq/dqx-php85-alpine-complete:0.1.1.
| Component | Version |
|---|---|
| OS | Alpine Linux v3.24 |
| PHP | 8.5.12 |
| Node.js | 24.18.1 |
| npm | 11.12.1 |
| Composer | 2.10.3 |
| MySQL client (mysql, mysqldump) | 8.4.13 |
| git | 2.54.0 |
| Aikido safe-chain (npm, npx run through it) | 1.5.26 |
| bash | 5.3.9 |
| curl | 8.22.0 |
| OpenSSH client | 10.3p1 |
| rsync | 3.5.0 |
| unzip | 6.00 |
| zip | 3.0 |
| zsh with oh-my-zsh | 5.9 |
| ImageMagick (SVG, PDF, WebP) | 7.1.2 |
| Ghostscript | 10.08.0 |
| poppler-utils (pdftotext, pdftoppm) | 25.12.0 |
| rsvg-convert | 2.62.3 |
| postgresql-client (psql, pg_dump) | 18.6 |
PHP extensions added to the official image: bcmath 8.5.12, exif 8.5.12, gd 8.5.12, igbinary 3.2.17RC1, intl 8.5.12, mbstring 8.5.12, msgpack 3.0.1, mysqli 8.5.12, pcntl 8.5.12, pcov 1.0.12, pdo_mysql 8.5.12, redis 6.3.0, sockets 8.5.12, xdebug 3.5.3, zend opcache 8.5.12, zip 1.22.8, imagick 3.8.1, pdo_pgsql 8.5.12, pgsql 8.5.12, soap 8.5.12.
All 54 loaded modules: bcmath, Core, ctype, curl, date, dom, exif, fileinfo, filter, gd, hash, iconv, igbinary, imagick, intl, json, lexbor, libxml, mbstring, msgpack, mysqli, mysqlnd, openssl, pcntl, pcov, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, random, readline, redis, Reflection, session, SimpleXML, soap, sockets, sodium, SPL, sqlite3, standard, tokenizer, uri, xdebug, xml, xmlreader, xmlwriter, Zend OPcache, zip, zlib.
nl.dolphiq.dqx.contents label: the contents above as JSON, readable from the registry without pulling (dqx image info dolphiq/dqx-php85-alpine-complete:0.1)./etc/dqx-image.json in the image: the versions read from the binaries, every PHP extension with its version and the OS tools.catalog/images.json and catalog/contents/php85-alpine-complete/<version>.json: every image and every released version.Every setting is an environment variable, so projects override it in environment: instead of mounting ini files.
| Variable | Default | Sets |
|---|---|---|
PHP_PCOV_ENABLED | 0 | 1 turns pcov coverage on |
PHP_MEMORY_LIMIT | 512M | memory_limit |
PHP_UPLOAD_MAX_FILESIZE | 64M | upload_max_filesize |
PHP_POST_MAX_SIZE | 64M | post_max_size |
PHP_MAX_EXECUTION_TIME | 300 | max_execution_time |
PHP_DATE_TIMEZONE | UTC | date.timezone |
PHP_OPCACHE_ENABLE | 1 | opcache.enable (timestamps are always validated) |
TZ | UTC | system timezone |
Xdebug is loaded and off (xdebug.mode = off in docker-php-ext-xdebug.ini). Set XDEBUG_MODE (for example debug or coverage) to turn it on; dqx xdebug on does that per site.
The image runs as root in /var/www, uses php.ini-development, and has no HEALTHCHECK (compose or dqx defines one).
Project-specific needs go into a project Dockerfile on top of this image. Install the build tools, compile and remove them in one RUN; add the runtime libraries an extension needs (for example libldap for ldap):
FROM dolphiq/dqx-php85-alpine-complete:0.1
RUN apk add --no-cache --virtual .build-deps $PHPIZE_DEPS \
&& docker-php-ext-install calendar \
&& apk del .build-deps
Full history, sources and the other images: https://bitbucket.org/dq-private/dqx-docker-images-php (releases/php85-alpine-complete/CHANGELOG.md).
Content type
Image
Digest
sha256:c32338d69…
Size
139.5 MB
Last updated
about 2 hours ago
docker pull dolphiq/dqx-php85-alpine-complete