2017-02-15 06:03:49 +13:00
|
|
|
FROM wordpress:latest
|
|
|
|
|
2017-03-07 12:33:23 +13:00
|
|
|
RUN touch /var/log/apache2/php_err.log && chown www-data:www-data /var/log/apache2/php_err.log
|
2017-04-02 22:18:38 +12:00
|
|
|
COPY provisioning/php_error.ini /usr/local/etc/php/conf.d/php_error.ini
|
2017-03-07 12:33:23 +13:00
|
|
|
|
2017-02-15 06:03:49 +13:00
|
|
|
RUN apt-get update \
|
2017-03-13 09:19:20 +13:00
|
|
|
&& apt-get install -y inotify-tools rsync mysql-client \
|
2017-02-20 11:57:08 +13:00
|
|
|
&& docker-php-ext-install zip
|
2017-02-15 06:03:49 +13:00
|
|
|
|
|
|
|
# install wp cli
|
|
|
|
RUN curl -L https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -o /usr/local/bin/wp
|
|
|
|
RUN chmod +x /usr/local/bin/wp
|
|
|
|
|
2017-04-02 22:18:38 +12:00
|
|
|
COPY provisioning/*.sh /
|
2017-02-15 06:03:49 +13:00
|
|
|
|