Currently, the entry point installs WordPress from /usr/src/wordpress only if the container is started with Apache or php-fpm.
My use case is to run the WordPress installation part in a Kubernetes init container, then, at runtime, have /var/www/html mounted read-only.
What I'm proposing is to have a way to run the installation part if the container CMD is something like install or a WORDPRESS_INSTALL_ONLY env variable is set.