WordPress docker image, powered by s6 supervised nginx/php-fpm combo
Go to file
2021-09-25 01:01:56 +02:00
.github/workflows Improve workflow, use new actions and also cache 2021-09-23 18:46:22 +02:00
build Fix image tagging problem where latest version is not tagged as litteral 2021-09-24 23:25:47 +02:00
patches Add WordPress 5.8.1 2021-09-23 17:51:09 +02:00
rootfs Add multiarch support and GitHub actions. Support even older versions with newest features 2021-09-22 23:46:14 +02:00
.gitignore Commit missing change 2021-03-19 19:30:43 +01:00
Dockerfile Improve, much more efficient and reuses already build binaries 2021-09-25 00:47:50 +02:00
LICENSE Initial commit 2020-03-29 01:09:29 +01:00
README.md Update README 2021-02-09 22:04:05 +01:00
wp-config.php Initial commit 2020-03-29 01:42:21 +01:00

wordpress

WorPress docker image, powered by nginx/php-fpm combo and managed by s6 supervisor.

Attempt to fix several of WordPress anti-patterns in ready to deploy container

Automatic plugin installer

WARNING: This feature is experimental and can fail. Proceed with caution

This container can install plugins during container startup defined in environment variable WORDPRESS_PLUGIN_LIST

If environment variable is left empty, or undefined, installer will skip.

Plugins are not activated automatically; This is intentional.

Usage example:

# Notice that specific version can be defined
WORDPRESS_PLUGIN_LIST=akismet:4.1.8 two-factor

Caveats:

  • If plugin was previously installed, and not defined on the list, it will NOT be removed.
  • If plugin install fails, container will exit with error

TODO

  • Out-of-the-box SSL support
  • ~Disable core updates~
  • ~Install/update plugins on the fly using wp cli (with versioning)~
  • Install/update themes on the fly using wp cli (with versioning)
  • ~Apply theme and eventual plugin customizations using patch files~ (Partial)
  • Support automatic install using ENV
  • Create users automatically using ENV