Skip to content

Feature: Add WordPress specific images#25

Open
michielgerritsen wants to merge 2 commits intowardenenv:mainfrom
michielgerritsen:feature/wordpress-images
Open

Feature: Add WordPress specific images#25
michielgerritsen wants to merge 2 commits intowardenenv:mainfrom
michielgerritsen:feature/wordpress-images

Conversation

@michielgerritsen
Copy link

My biggest pet peeve with Warden is that Composer projects don't have WP CLI available, similar to Magerun for Magento. This PR tries to solve it by adding images for WordPress.

@@ -0,0 +1,20 @@
ARG ENV_SOURCE_IMAGE
ARG PHP_VERSION
FROM ${ENV_SOURCE_IMAGE}:${PHP_VERSION}-magento2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@michielgerritsen Why are you coming from the magento2 variant of the image? Shouldn't this be wordpress?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, that's not correct. Thanks for noticing!

@bap14
Copy link
Member

bap14 commented Mar 6, 2024

@navarr I wonder if for things like this, just adding tools to the PHP images, if it would be better to have a robust docker entrypoint script that will download / install those tools on start. Potentially even defining those locations as volumes so changes are persisted between restarts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🆕 New

Development

Successfully merging this pull request may close these issues.

2 participants