From 1ca6950c04c335bfaf82f76bf40a21e4c9d4b4ea Mon Sep 17 00:00:00 2001 From: Jan Suchotzki Date: Tue, 24 Mar 2015 18:03:10 +0100 Subject: [PATCH 1/4] Describe how to add extensions into the wordpress image (see docker-library/wordpress#68) --- wordpress/content.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/wordpress/content.md b/wordpress/content.md index feefc10bd..67ad452c1 100644 --- a/wordpress/content.md +++ b/wordpress/content.md @@ -34,3 +34,14 @@ If you'd like to use an external database instead of a linked `mysql` container, ## %%COMPOSE%% Run `docker-compose up`, wait for it to initialize completely, and visit `http://localhost:8080` or `http://host-ip:8080`. + +## Add additional libraries / extensions + +This image does not provide any additional php-extensions or other libraries, even if they are required by several plugins. That is because there are so many plugins, requiring so many extensions and libraries, that the image will dramatically increase in size. + +If you need one or several extensions or libraries, the easiest was is to create your own image. Base it on the version of the official wordpress image you need and add the extensions you need. The +[documentation of the php image](https://github.com/docker-library/docs/blob/master/php/README.md#how-to-install-more-php-extensions) shows how to accomplish that in detail. + +In order to keep your image with the extensions you require up to date, there are features of Docker Hub which help you: +- [Automated Builds](https://docs.docker.com/docker-hub/builds/): Let Docker Hub automatically create a new image from your Dockerfile each time you push changes to it. +- [Repository Links](https://docs.docker.com/docker-hub/builds/#repository-links): Link your docker image to `library/wordpress` so it is automatically rebuild once the official wordpress image is rebuild. From d941844df1bbcc7c7034d94fa06fe223646134a6 Mon Sep 17 00:00:00 2001 From: Jan Suchotzki Date: Tue, 24 Mar 2015 18:07:40 +0100 Subject: [PATCH 2/4] Fixed typo --- wordpress/content.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wordpress/content.md b/wordpress/content.md index 67ad452c1..0d6833531 100644 --- a/wordpress/content.md +++ b/wordpress/content.md @@ -39,7 +39,7 @@ Run `docker-compose up`, wait for it to initialize completely, and visit `http:/ This image does not provide any additional php-extensions or other libraries, even if they are required by several plugins. That is because there are so many plugins, requiring so many extensions and libraries, that the image will dramatically increase in size. -If you need one or several extensions or libraries, the easiest was is to create your own image. Base it on the version of the official wordpress image you need and add the extensions you need. The +If you need one or several extensions or libraries, the easiest way is to create your own image. Base it on the version of the official wordpress image you need and add the extensions you need. The [documentation of the php image](https://github.com/docker-library/docs/blob/master/php/README.md#how-to-install-more-php-extensions) shows how to accomplish that in detail. In order to keep your image with the extensions you require up to date, there are features of Docker Hub which help you: From 1db7010215bef15f0e299b823ee4f018277a5da9 Mon Sep 17 00:00:00 2001 From: Jan Suchotzki Date: Tue, 24 Mar 2015 18:10:39 +0100 Subject: [PATCH 3/4] Run update.sh to update based on content.md --- wordpress/README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/wordpress/README.md b/wordpress/README.md index 9d2da3a3b..c5ade5053 100644 --- a/wordpress/README.md +++ b/wordpress/README.md @@ -56,6 +56,17 @@ Example `docker-compose.yml` for `wordpress`: Run `docker-compose up`, wait for it to initialize completely, and visit `http://localhost:8080` or `http://host-ip:8080`. +## Add additional libraries / extensions + +This image does not provide any additional php-extensions or other libraries, even if they are required by several plugins. That is because there are so many plugins, requiring so many extensions and libraries, that the image will dramatically increase in size. + +If you need one or several extensions or libraries, the easiest way is to create your own image. Base it on the version of the official wordpress image you need and add the extensions you need. The +[documentation of the php image](https://github.com/docker-library/docs/blob/master/php/README.md#how-to-install-more-php-extensions) shows how to accomplish that in detail. + +In order to keep your image with the extensions you require up to date, there are features of Docker Hub which help you: +- [Automated Builds](https://docs.docker.com/docker-hub/builds/): Let Docker Hub automatically create a new image from your Dockerfile each time you push changes to it. +- [Repository Links](https://docs.docker.com/docker-hub/builds/#repository-links): Link your docker image to `library/wordpress` so it is automatically rebuild once the official wordpress image is rebuild. + # Supported Docker versions This image is officially supported on Docker version 1.5.0. From a0e3798283cef95c757708c7d658a138d78ed9d2 Mon Sep 17 00:00:00 2001 From: Jan Suchotzki Date: Wed, 25 Mar 2015 10:31:45 +0100 Subject: [PATCH 4/4] Format according to markdownfmt --- wordpress/README.md | 4 ++-- wordpress/content.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wordpress/README.md b/wordpress/README.md index c5ade5053..ba6ad5d67 100644 --- a/wordpress/README.md +++ b/wordpress/README.md @@ -60,10 +60,10 @@ Run `docker-compose up`, wait for it to initialize completely, and visit `http:/ This image does not provide any additional php-extensions or other libraries, even if they are required by several plugins. That is because there are so many plugins, requiring so many extensions and libraries, that the image will dramatically increase in size. -If you need one or several extensions or libraries, the easiest way is to create your own image. Base it on the version of the official wordpress image you need and add the extensions you need. The -[documentation of the php image](https://github.com/docker-library/docs/blob/master/php/README.md#how-to-install-more-php-extensions) shows how to accomplish that in detail. +If you need one or several extensions or libraries, the easiest way is to create your own image. Base it on the version of the official wordpress image you need and add the extensions you need. The [documentation of the php image](https://github.com/docker-library/docs/blob/master/php/README.md#how-to-install-more-php-extensions) shows how to accomplish that in detail. In order to keep your image with the extensions you require up to date, there are features of Docker Hub which help you: + - [Automated Builds](https://docs.docker.com/docker-hub/builds/): Let Docker Hub automatically create a new image from your Dockerfile each time you push changes to it. - [Repository Links](https://docs.docker.com/docker-hub/builds/#repository-links): Link your docker image to `library/wordpress` so it is automatically rebuild once the official wordpress image is rebuild. diff --git a/wordpress/content.md b/wordpress/content.md index 0d6833531..d5006f28b 100644 --- a/wordpress/content.md +++ b/wordpress/content.md @@ -39,9 +39,9 @@ Run `docker-compose up`, wait for it to initialize completely, and visit `http:/ This image does not provide any additional php-extensions or other libraries, even if they are required by several plugins. That is because there are so many plugins, requiring so many extensions and libraries, that the image will dramatically increase in size. -If you need one or several extensions or libraries, the easiest way is to create your own image. Base it on the version of the official wordpress image you need and add the extensions you need. The -[documentation of the php image](https://github.com/docker-library/docs/blob/master/php/README.md#how-to-install-more-php-extensions) shows how to accomplish that in detail. +If you need one or several extensions or libraries, the easiest way is to create your own image. Base it on the version of the official wordpress image you need and add the extensions you need. The [documentation of the php image](https://github.com/docker-library/docs/blob/master/php/README.md#how-to-install-more-php-extensions) shows how to accomplish that in detail. In order to keep your image with the extensions you require up to date, there are features of Docker Hub which help you: + - [Automated Builds](https://docs.docker.com/docker-hub/builds/): Let Docker Hub automatically create a new image from your Dockerfile each time you push changes to it. - [Repository Links](https://docs.docker.com/docker-hub/builds/#repository-links): Link your docker image to `library/wordpress` so it is automatically rebuild once the official wordpress image is rebuild.