Skip to content

Hook in to specific point in entrypoint script #147

Closed
@ivandotv

Description

@ivandotv

I need to do some other stuff in the container before the php-fpm is started, but after entrypoint.sh file provisions wordpress.
In between those two steps, I want to add some plugins (via wp-cli).
So it would be nice if we could hook in to the setup process.

Just before exec "$@" we could have code that checks if there is a script in predetermined location,
and if there is, it executes it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    RequestRequest for image modification or featurequestionUsability question, not directly related to an error with the image

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions