WordPress docker image, powered by s6 supervised nginx/php-fpm combo
Go to file
2022-01-15 06:17:26 +01:00
.github/workflows Use buildx bake for parallel builds 2021-09-25 03:19:05 +02:00
build Fix path traverse error that caused patch to be copied to the incorrect location 2022-01-15 06:17:26 +01:00
patches Update WordPress 5.8.1 -> 5.8.2 2021-11-19 00:54:14 +01:00
rootfs Add missing runtime libraries, and fix patch filename/path 2021-09-27 03:29:55 +02:00
.gitignore Add exclusion 2021-11-19 00:58:36 +01:00
Dockerfile Fix nginx related build errors 2022-01-15 00:05:18 +01:00
LICENSE Initial commit 2020-03-29 01:09:29 +01:00
README.md Update public build 2021-11-19 01:04:42 +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

Public builds (docker)

You can use public build:

nlss/wordpress

You can also use specific version of WordPress:

nlss/wordpress:5.8.0

Replace version number with desired version, eg. 5.8.2.

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