Open
Description
Could it be possible for the WordPress docker image to provide a php dependency only tag variant ?
The regular image currently provides a zip with a version of WordPress and a custom entry point. But you sometimes do not need thoses files and they might also mess your custom setup (for example extracting WP while it shouldn't).
It would be great if this current image is split into 2 stages, one for the php dependencies, and the next one for the wordpress specific files. This should allow me to reuse the wordpress image to build my own docker image ?
I would see maybe a stage around here:
wordpress/latest/php7.4/apache/Dockerfile
Line 123 in 67e960d
We could then have for example:
FROM wordpress:apache-bare
COPY . /var/www/html