PHP 8.4.27 Debian 13 (trixie) complete for Laravel dev/CI
134
PHP 8.4.27 on Debian 13 (trixie), 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-php84-debian-complete:0.1 (0.1.0).
# docker-compose.yml
services:
app:
image: dolphiq/dqx-php84-debian-complete:0.1
environment:
XDEBUG_MODE: debug
# bitbucket-pipelines.yml
image: dolphiq/dqx-php84-debian-complete:0.1
| Component | Version |
|---|---|
| PHP | 8.4.27 |
| Node.js + npm | 24.22.1 |
| Composer | 2.10.3 |
| MySQL client (mysql, mysqldump) | 8.4.13 |
| git | 2.56.0 |
| npm protection | Aikido safe-chain (npm, npx run through it) |
| PDF and images | ImageMagick with SVG and PDF, Ghostscript, poppler-utils, rsvg-convert |
| Postgres | postgresql-client (pg_dump, psql) |
| Shell | zsh with oh-my-zsh |
PHP extensions added to the official image: bcmath, exif, gd, igbinary 3.2.16, intl, mbstring, msgpack 3.0.1, mysqli, pcntl, pcov 1.0.12, pdo_mysql, redis 6.3.0, sockets, xdebug 3.5.3, zend opcache, zip, imagick 3.8.1, pdo_pgsql, pgsql, soap.
/etc/dqx-image.json in the image lists the exact versions it was built with.
Every setting is an environment variable, so projects override it in environment: instead of mounting ini files.
| Variable | Default | Sets |
|---|---|---|
XDEBUG_MODE | off | Xdebug mode, e.g. debug, coverage, debug,coverage |
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 |
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-php84-debian-complete:0.1
RUN apt-get update \
&& apt-get install -y --no-install-recommends $PHPIZE_DEPS \
&& docker-php-ext-install calendar \
&& apt-get purge -y --auto-remove $PHPIZE_DEPS \
&& rm -rf /var/lib/apt/lists/*
Full history, sources and the other images: https://bitbucket.org/dq-private/dqx-docker-images-php (releases/php84-debian-complete/CHANGELOG.md).
Content type
Image
Digest
sha256:05a45d9b3…
Size
217.8 MB
Last updated
about 2 hours ago
docker pull dolphiq/dqx-php84-debian-complete