Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.15 KB

Readme.md

File metadata and controls

35 lines (22 loc) · 1.15 KB

docker-php

A base PHP + Apache Docker image to support most of Big Give's PHP + Slim apps, including:

Currently using PHP 8.3 everywhere.

Manually build

For local testing:

docker build -t thebiggive/php:local -f ./php8.3/Dockerfile .

Dev build:

docker build -t thebiggive/php:dev-local -f ./php8.3/dev/Dockerfile .

When we last checked in April 2022, phpdbg wasn't bundled and Debian stable repos didn't seem to have a straightforward way to get it. So we maintain and publish dev-8.3 etc. tags with Xdebug enabled, for e.g. CI test coverage. This means we can use the normal 8.3 tag for Production without incurring significant extra overhead.

Because we extend the dev tag from the non-Xdebug one, the latter must build successfully at least once first.

Publish