Add PHP debug.ini configuration linking to Docker containers

  • Add debug-web.ini and debug-cli.ini linking in both Apache and CiviCRM images
  • Reorganise entrypoint script configuration sections with additional comments

To build the updated images:

  • cd to /path/to/dev-images
  • run docker-pkg -c dockerfiles/config.yaml build --no-pull --select 'docker-registry.wikimedia.org/dev/fundraising-*' dockerfiles/

And you should see:

jack@debian:~/Projects/wiki/dev-images$ docker-pkg -c dockerfiles/config.yaml build --no-pull --select 'docker-registry.wikimedia.org/dev/fundraising-*' dockerfiles/
== Step 0: scanning /home/jack/Projects/wiki/dev-images/dockerfiles/ ==
Will build the following images:
* docker-registry.wikimedia.org/dev/fundraising-bookworm-php82-apache2:1.0.1
* docker-registry.wikimedia.org/dev/fundraising-civicrm-bookworm-php82-apache2:1.1.3
== Step 1: building images ==
* Built image docker-registry.wikimedia.org/dev/fundraising-bookworm-php82-apache2:1.0.1
* Built image docker-registry.wikimedia.org/dev/fundraising-civicrm-bookworm-php82-apache2:1.1.3
== Step 2: publishing ==
NOT publishing images as we have no auth setup
== Build done! ==
You can see the logs at ./docker-pkg-build.log

Then check out https://gerrit.wikimedia.org/r/c/wikimedia/fundraising/dev/+/1175567 and run:

  • cd to /path/to/fundraising-dev
  • docker compose up

Bug: T396171

Edited by Jgleeson

Merge request reports

Loading