Skip to content

Remove setup.sh as a dependency #102

@darrylAlexander

Description

@darrylAlexander

Hi All,

I came across Precious Plastics earlier this summer and it is amazing! Good job on the site so far, I would like to get involved as well and as I am a software engineer, I thought would start here. I have read through the other issues and thought I would raise a new one for this particular problem. Please let me know if this was wrong and whether it fits somewhere else.

Currently the docker container for the site requires running setup.sh after running the container. Docker containers are supposed to contain everything you need without having to run destructive processes after it. I think the docker solution should be able to do everything we need without having to run additional processes.

I propose creating the site from the official WordPress image and using the RUN commands in a docker file to install dependencies for plugins and the plugins themselves. the compose file could be amended as well removing anything no longer needed and tweaks to volume maps, WordPress, MySQL config, etc...

If you accept this issue, I would also be willing to have a go at doing this. I've played around with this and have managed to get the theme installed from using the WordPress image as a base.

What do you think?

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