This is an auto-build image for WordPress, based on PHP FPM and Alpine Linux.
This image provides a recent version of WordPress, the world's most popular open-source blog / CMS engine. It bases on Alpine Linux, resulting in very small OS base and image footprint. Also it uses PHP FPM to provide a FastCGI interface on port 9000.
It differs from the base image wordpress:fpm-alpine only in one thing: When
there is a folder at /docker-hooks
containing *.sh
files, these are executed
prior to the start of the main services to allow for manipulations of the container
without the need to re-build the image. This way, it can be picked up with a
webserver which supports FastCGI like nginx or Apache (see nginx FastCGI)
and configured to any needs.
Attention: This means that you can't use this image without an additional
webserver like nginx to launch a working instance of WordPress!
You need to launch it like in the following example:
# First launch this image
docker run --name wordpress -d derjudge/wordpress-fpm-alpine
# Then launch an nginx container
TODO
The image build is triggered automatically, every time the base image wordpress:fpm-alpine
is updated and every time there are updates to the Git repository.
This way, it is equally up-to-date as the official WordPress image is.