Repository navigation
README: the dev image has the base extensions, not the WordPress set - #21
Conversation
Dockerfile.dev has never installed PHP extensions; the seven the README listed come from Dockerfile.wordpress. Describe what dev really adds, move the extension list to the wordpress variant, and list wordpress-dev as the dev image that has them. Refs ALI-1111
CI builds and publishes wordpress-dev for 8.2-8.5, and the variants list now points local WordPress work at it, so the matrix lists it too. Refs ALI-1111
|
Review round 1 (fresh-context reviewer). The
Confirmed: every README claim about dev, wordpress and wordpress-dev matches all four versions' Dockerfiles; |
…press-dev tag The base image already leaves PHP_DISABLE_FUNCTIONS empty, so clearing it only matters in wordpress-dev, which undoes the wordpress image's exec ban. Move the note there, mark wordpress-dev as local-only and give its tag. Refs ALI-1111
|
Review round 2 (fresh-context reviewer;
Confirmed: the new matrix column is accurate (CI builds and publishes Stopping the loop here: the last commit is wording only, checked against all four versions' Dockerfiles. |
Fixes ALI-1111.
The README said the
frankenphp-devimage addsmysqli,gd,exif,imagick,redis,igbinaryandsoap.php/*/frankenphp/Dockerfile.devinstalls no PHP extensions, and never has (checked its history back to the first commit). Those seven come fromDockerfile.wordpress, and so are inwordpress-devtoo.Why the README changes, not the Dockerfile
Dockerfile.wordpressadds them as "Tier 2", noting imagick's CVE history as the reason it isn't in the base. A Laravel app in production runs on the base image, so adevimage without them matches production.-frankenphp-wordpress-devfor WordPress projects and-frankenphp-devfor everything else, so nothing that needs the WordPress set usesdev..github/scripts/smoke-test.shalready checksdevagainst the base extension list, so no script change is needed.If
devshould carry the extensions after all, that's a Dockerfile change for all four versions plus a smoke-test change; say so on the ticket.Changes
dev: describes what it really adds (git,npm, OPcache revalidation on every request) and says it has the base extensions only. (PHP_DISABLE_FUNCTIONSis already empty in the base image, so clearing it indevchanges nothing; the README now says it only forwordpress-dev.)wordpress: now lists the seven extensions itself instead of pointing atdev.wordpress-dev: new bullet, so the variant that does have the extensions for local work is documented, and a matching column in the image matrix.README only; no image is rebuilt (the build workflow runs on pushes to
mainand only for changed Dockerfiles).