/wp-docklines

🐳 Docker images to run a WordPress development environment

Primary LanguageDockerfileGNU General Public License v2.0GPL-2.0

WP Docklines

Docker Automated build Docker Pulls 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 SVN Git Composer
php7.3-apache 2.4.0 1.10.4 2.20.1 1.10.17
php7.3-fpm 2.4.0 1.10.4 2.20.1 1.10.17
php7.3-fpm-alpine 2.4.0 1.13.0 2.26.2 1.10.17
php7.4-apache 2.4.0 1.10.4 2.20.1 1.10.17
php7.4-fpm 2.4.0 1.10.4 2.20.1 1.10.17
php7.4-fpm-alpine 2.4.0 1.13.0 2.26.2 1.10.17
php8.0-apache 2.4.0 1.10.4 2.20.1 1.10.17
php8.0-fpm 2.4.0 1.10.4 2.20.1 1.10.17
php8.0-fpm-alpine 2.4.0 1.13.0 2.26.2 1.10.17

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 php8.0-apache. Have a look at the Wiki for a few real-world usages of these images: