Sign inSign up

giacomeli/makephp

By giacomeli

•Updated 2 months ago

PHP FPM base images 8.3/8.4/8.5 (dev and slim prod) for makephp. Multi-arch amd64/arm64.

Image
0

1.0K

giacomeli/makephp repository overview

⁠makephp — PHP FPM base images (8.3 / 8.4 / 8.5)

Batteries-included PHP FPM images for the makephp⁠ environment — a complete, Makefile-driven Docker setup for PHP applications (local development and single-node production). Multi-arch: linux/amd64 and linux/arm64.

⁠Tags

TagPurposeContents
8.3-dev / 8.4-dev / 8.5-devDevelopment baseAll extensions + zsh (Oh My Zsh + Powerlevel10k), tmux, vim, node/npm, python3, supervisor, Composer
8.3-prod / 8.4-prod / 8.5-prodProduction baseSame extensions on a slim php:<version>-fpm runtime — no compilers, node, python or terminal tools
8.x-dev-YYYYMMDD / 8.x-prod-YYYYMMDDDated pinsImmutable snapshots of the tags above

⁠Included PHP extensions

Core: bcmath, bz2, calendar, ctype, curl, exif, ffi, ftp, gd (freetype/jpeg/webp), gettext, gmp, iconv, intl, mbstring, mysqli, opcache, pcntl, pdo_mysql, pdo_pgsql, pgsql, soap, sockets, xml, xsl, zip.

PECL: amqp, apcu, imagick, mongodb, redis, swoole.

⁠Usage

As the base for an application image:

ARG BASE_IMAGE=giacomeli/makephp:8.4-prod
FROM ${BASE_IMAGE}
# your app setup...

Quick interactive dev container:

docker run --rm -it -v "$PWD:/var/www" giacomeli/makephp:8.4-dev zsh

In the makephp environment, switch PHP versions by changing PHP_IMAGE_TAG in .env (8.3-dev | 8.4-dev | 8.5-dev).

⁠dev vs prod

  • 8.x-dev (~1.9 GB): full development shell experience, optional Xdebug via build arg in the source Dockerfile.
  • 8.x-prod (~900 MB): identical php -m, production php.ini (opcache.validate_timestamps=0, display_errors=Off, expose_php=Off), Composer included.

Images are built on native amd64 and arm64 runners via GitHub Actions.

⁠Source

Dockerfile, orchestration and full documentation: github.com/giacomeli/makephp⁠ (MIT).

Tag summary

Content type

Image

Digest

sha256:3c1f3978a…

Size

227 MB

Last updated

2 months ago

docker pull giacomeli/makephp:8.5-prod-20260723