A docker image based the official PHP docker image with WordPress dependencies added.
Tag | Description |
---|---|
latest | The most current build with Apache and PHP 7.2.x. Images based on latest may change often an possibly could break. Test your images |
7.2-apache | PHP 7.2 |
5.6-apache | PHP 5.6 |
I'm sure there are some but currently I'm unaware of current issues. If you find an issue please let me know on GitHub
A working docker daemon would be helpful to utilize this image.
This image is meant to be used as a base to build custom docker images from. It's value is that it takes the base Debian linux image and adds the s6 overlay.
docker run -d -v /data/wordpress:/var/www/html -p 80:80 thejordanclark/wpphp:latest bash
This will start a container serving date from the local directory /data/wordpress and publish it on port 80.
FROM thejordanclark/wpphp:latest
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive \
apt-get install -y cowsay && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
Environment | Description |
---|
This image includes the bash shell and when running in detached mode can be connected to with:
docker exec -ti <container> bash
Maintainer: https://jordanclark.us
Maintainer's git repo: https://git.jordanclark.us/devops/wpphp-docker
Github Issues: https://github.com/thejordanclark/wpphp-docker/issues