Skip to content

Provide a php dependency only image without wordpress specific files Β #764

Open
@jooola

Description

@jooola

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:

We could then have for example:

FROM wordpress:apache-bare

COPY . /var/www/html

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionUsability 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