Commit 846dc46
authored
Use CakePHP's official ghcr.io image for Docker quickstart (#8343)
Supersedes the previous fix on this branch. As discussed in the PR,
CakePHP now publishes its own PHP images to GHCR
(ghcr.io/cakephp/cakephp) with intl, pdo_mysql, and the other
extensions CakePHP needs already baked in.
This replaces the install-extensions-at-runtime pattern with that
image for both Docker commands on the homepage:
- composer create-project now runs inside the official image (only
Composer itself needs installing, not PHP extensions)
- the dev server now runs `php bin/cake.php server`, using the
official image too, instead of php:8.2-cli (which lacked intl and
pdo_mysql, and which was also being handed the bin/cake shell
script instead of its actual PHP entry point)
Verified end to end: composer create-project succeeds, the dev
server starts, and the welcome page renders normally (no
MissingExtensionException) at http://localhost:8765.1 parent acdb2dd commit 846dc46
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
63 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
67 | | - | |
| 69 | + | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
| |||
0 commit comments