Skip to content

docker-entrypoint.sh noops without $1 = "apache2" || "php-fpm", blocking image extension #242

Closed
@pnloyd

Description

@pnloyd

This is preventing the creation of images that can do things like running an instance of nginx alongside php-fpm controlled by some process manager. You kind of need to be able to change the CMD for that to work smoothly, but because of the current behavior you lose all the valuable work that's done inside of docker-entrypoint.sh, which kinda seems like the whole point of these images.

I'm curious what the use case is for calling docker-entrypoint.sh without php-fpm, which literally does nothing. And how that use case is so valuable that it is worth blocking the extension of this image. If it was really important that the contents of docker-entrypoint.sh where not executed, ENTRYPOINT could just be changed to something else.

I've seen maintainers dismiss multiple requests for nginx images on the premise that it is against the "seperated services" design pattern, but I don't see a clean way for people to make their own images with nginx with the way it is right now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    IssueRequestRequest for image modification or feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions