Skip to content

Add how to include pre-installed themes/plugins for WordPress #1345

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 0 commits into from
Closed

Conversation

wglambert
Copy link
Contributor

Relevant to docker-library/wordpress#344 and docker-library/wordpress#341

As mentioned previously in docker-library/wordpress#246 (comment) and docker-library/wordpress#146; mounting the themes/plugins to /usr/src/wordpress/wp-content/ was advised, however there are issues notably with themes that cause a Stylesheet is missing. even when insuring the directory and it's contents are owned by www-data and given 777 permissions. It seems to be related to the tar cf - --one-file-system -C /usr/src/wordpress . | tar xf - in the entrypoint

/var/www/html/wp-content/ doesn't have this problem, it only requires read/write/execute for either the user www-data or for "other"

@tianon
Copy link
Member

tianon commented Oct 26, 2018

Looks great, although the formatting check is likely to fail in a moment (I think you need a blank line before the list items, at a minimum). You should be able to run ./markdownfmt.sh -w wordpress/content.md on your local copy if you want the script to simply correct the formatting for you, although it does sometimes get it wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants