This is the Git repo of the Smartwave's Docker image for Wordpress. (Version 4.5)
It's a Docker image for wordpess based on the official image for wordpress.
The big difference with the official image, is that the Smartwave's image is completed with the wp-content of a based git reposotory website.
The goal : Have a dockerized website CI - CD ready.
To Build the image :
docker build --build-arg GIT_REPO=your-git-repository-withcredentials-if-necesasry --force-rm --no-cache -t image_name .
To run :
docker run --name container-name --privileged=true -e WORDPRESS_DB_HOST=your-mysql-host -e WORDPRESS_DB_NAME=your-db-name -e WORDPRESS_DB_PASSWORD=your-db-password -d image_name