🐳 Docker images to run a WordPress development environment
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
node
php5.4
php5.5
php5.6
php7.0
php7.1
php7.2
.editorconfig
.gitignore
.travis.yml
LICENSE
README.md

README.md

WP Docklines

Docker Automated build Docker Pulls Docker Build Status Travis License

Docker images for setting up and running a WordPress development environment.

Each of these Docker images include:

See the following table for version of each package included:

PHP Images

Image WP-CLI PHPUnit PHPCS WPCS SVN Git
php5.4-apache 1.5.1 4.8.36 3.2.3 0.14.1 1.8.10 2.1.4
php5.4-fpm 1.5.1 4.8.36 3.2.3 0.14.1 1.8.10 2.1.4
php5.5-apache 1.5.1 4.8.36 3.2.3 0.14.1 1.8.10 2.1.4
php5.5-fpm 1.5.1 4.8.36 3.2.3 0.14.1 1.8.10 2.1.4
php5.5-fpm-alpine 1.5.1 4.8.36 3.2.3 0.14.1 1.9.7 2.8.6
php5.6-apache 1.5.1 5.7.27 3.2.3 0.14.1 1.8.10 2.1.4
php5.6-fpm 1.5.1 5.7.27 3.2.3 0.14.1 1.8.10 2.1.4
php5.6-fpm-alpine 1.5.1 5.7.27 3.2.3 0.14.1 1.9.7 2.8.6
php7.0-apache 1.5.1 6.5.8 3.2.3 0.14.1 1.8.10 2.1.4
php7.0-fpm 1.5.1 6.5.8 3.2.3 0.14.1 1.8.10 2.1.4
php7.0-fpm-alpine 1.5.1 6.5.8 3.2.3 0.14.1 1.9.7 2.8.6
php7.1-apache 1.5.1 6.5.8 3.2.3 0.14.1 1.8.10 2.1.4
php7.1-fpm 1.5.1 6.5.8 3.2.3 0.14.1 1.8.10 2.1.4
php7.1-fpm-alpine 1.5.1 6.5.8 3.2.3 0.14.1 1.9.7 2.8.6
php7.2-apache 1.5.1 6.5.8 3.2.3 0.14.1 1.9.5 2.11.0
php7.2-fpm 1.5.1 6.5.8 3.2.3 0.14.1 1.9.5 2.11.0
php7.2-fpm-alpine 1.5.1 6.5.8 3.2.3 0.14.1 1.9.7 2.13.5

Node Images

Image Node NPM Yarn Gulp CLI Grunt CLI ESLint Stylelint
jessie 8.11.3 6.1.0 1.7.0 2.0.1 1.2.0 4.19.1 9.3.0
alpine 8.11.3 6.1.0 1.7.0 2.0.1 1.2.0 4.19.1 9.3.0

PHP Libraries / Extensions

The image also includes the following packages that might be needed for deployment or running a few select WP-CLI commands that require interaction with the mysql command such as wp db import and wp db export:

  • mysql-client
  • unzip
  • ssh-client

Usage

You'll need to install Docker (Mac|Windows) on your machine. The image is available in Docker Hub, and you can run docker pull tfirdaus/wp-docklines command to pull the latest image which defaults to the latest tag or php7.2-apache. Have a look at the Wiki for a few real-world usages of these images: