- BREAKING CHANGE: Builds will now exit if any plugin or theme installs fail.
- Improve logging.
- REALLY fix error causing volumed plugins and/or themes to be deleted.
- Move
.dockercache
out of index directory so it can't be accessed directly.
- Fix error causing volumed plugins to be deleted.
- Always flush
.htaccess
to add rewrite rules back in the event a plugin modified it (e.g.w3-total-cache
).
- Add
wp-cli
bash completions to the wordpress container.
Note: Both deprecations will still work as usual until the next release cycle.
The build process is now aware of locally-volumed plugins and themes automatically.
Additionally, listing locally-volumed plugins and themes in your docker-compose.yml
file is optional; you may list them if you'd like to keep your compose file declarative, or you may skip listing them completely. The build will complete the same either way.
We chose to rename this because, although you may search and replace strings that are not URLs, the build process requires them to be.
This name reflects that requirement better and will lead to less confusion down the road.
Logging has been changed to show necessary information by default.
- Add
php7.1
base image. - Widespread efficiency improvements to build process.
- Reduce the number of Dockerfile layers.
- If
SERVER_NAME
is specified (eg.example.com
), create aServerAlias
in the apache configs forwww.example.com
.
- Plugins and themes are only pruned if they meet the following criteria (Closes #51):
- Not listed in
docker-compose.yml
. - Not added as a local volume.
- Not listed in
- Adjust permissions of volumed files and directories so that they remain editable outside the container, and remain secure. (Closes #12)
- Fix critical security vulnerability. HT @joerybruijntjes.
- Add
SERVER_NAME
variable to allow for quickly setting that directive in the apache config for users interested in running in production.
- Add
certbot
into the image to allow for easily obtaining and renewing SSL certificates
- Add missing
exif
php extension to handle WordPress media upload metadata parsing. - Bump default base theme to
twentyseventeen
- This project now maintains 2 separate
Dockerfile
, depending on the version of PHP you'd like to have installed.
Available Dockerfiles:
PHP Version | Tags |
---|---|
7.0 | latest latest-php7.0 0.12.1 0.12.1-php7.0 |
5.6 | latest-php5.6 0.12.1-php5.6 |
- Add
WP_VERSION
environment variable which allows users to specify which version of WordPress is installed.
- fix: Add default permalink structure (
/%year%/%monthnum%/%postname%/
). Closes #42.
- BREAKING CHANGE: Explicitly listing all plugin/theme requirements (including those located in volumed directories) required.
- Refactor run.sh into functions
- Add new URL plugin format to better check existence after initial build.
- Add new URL theme format to better check existence after initial build.
- Add
VERBOSE
environment variable option which allows the build to run verbosely if one chooses. - Prettier logging.
- Add
--activate
after plugin installs so that all plugins start out activated. - Many other improvements
- Add
DB_HOST
environment variable - Fix #46 - Various bug fixes and improvements
- Add
DB_PREFIX
optional param - Fix #37 - Only create .htaccess for non-multisite installations - Fix #32
- Various bug fixes and improvements
- Support Wordpress Multisite - Fix #33
- Fix a typo in the gulpfile
- Update wp-cli
gulp clean
now also clears generated templates- Support for
WP_DEBUG_LOG
andWP_DEBUG_DISPLAY
options
- Clear any apache pid file before starting apache
- Add a script to run wp-cli via npm
- Recreate the
wp-cli.yml
andwp-config.php
every time to make sure they are up to date.
- Remove all the scripts
- Consolidate and improve the
run.sh
- Update the documentation