Skip to content

jnummelin/wp-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Why yet-another-custom-wp-image (YACWPI)?

The official image does some things wonderfully and some things utterly "wrong" in my opinion.

Yes, it works pretty nicely when running a single container with docker-compose and manually updating plugins and things via the admin UI. But we're talking about running things with containers. Think about your CI/CD pipeline, how would you ensure your new plugin actually works? You certailnly don't go and do point-and-click installtion through the admin UI during the CI/CD process.

So I built another image, the main idea is:

  • have everything bundled in the image itself, no copying WP stuff over during startup
  • have our custom theme baked in
  • startup script will run the installation "wizard", if not done already

Running locally

Post start

Enable the theme

www-data@42b83e362c09:~/html$ wp theme activate my-theme

Running on cluster

About

WP in containers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published