Skip to content

my127/docker-php

Repository files navigation

PHP Images

Contents

Base

A starting point with some common extensions for running various frameworks and applications.

Packages

  • php-bcmath
  • php-gd
  • php-intl
  • php-mcrypt
  • php-opcache
  • php-pdo (mysql)
  • php-soap
  • php-xdebug
  • php-xsl
  • php-zip

Console

Used in development for building and interacting with the application with a familiar set of tools, can also be used as part of a multi-stage build docker image.

Packages

  • build-tools (autoconf, automake, g++, gcc, make, nasm)
  • composer (1.10.27 or 2.7.2)
  • curl
  • gettext-base
  • git
  • iproute
  • mysql (client)
  • nano
  • nvm
  • node (lts/dubnium aka v10, or none for PHP 8.3+)
  • npm
  • patch
  • redis-cli
  • rsync
  • wget
  • yarn (if node is installed)
  • zip

Supported Versions

PHP version Bullseye Bookworm Trixie
8.2 x x
8.3 x x
8.4 x x
8.5 x

Build and Test

Build and test all Trixie images:

BUILD=trixie ./build.sh
BUILD=trixie ./test.sh
docker compose down --rmi=all

Build and test all PHP 8.5 images:

BUILD=php85 ./build.sh
BUILD=php85 ./test.sh
docker compose down --rmi=all

Build and test a single image:

BUILD=php85-fpm-trixie-console ./build.sh
BUILD=php85-fpm-trixie-console ./test.sh

Remove locally built images when finished:

docker image rm my127/php:8.5-fpm-trixie-console

Releases

No releases published

Packages

 
 
 

Contributors