Skip to content

Support running only the WordPress installation part from the entrypoint #969

@calind

Description

@calind

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions