|
@@ -3,7 +3,7 @@ MAINTAINER Girish Ramakrishnan <girish@cloudron.io>
|
|
|
|
|
|
RUN mkdir -p /app/code
|
|
|
WORKDIR /app/code
|
|
|
-RUN curl -L http://wordpress.org/wordpress-4.3.1.tar.gz | tar -xz --strip-components 1 -f -
|
|
|
+RUN curl -L http://wordpress.org/wordpress-4.4.1.tar.gz | tar -xz --strip-components 1 -f -
|
|
|
RUN mv /app/code/wp-content /app/code/wp-content-vanilla && ln -s /app/data/wp-content /app/code/wp-content
|
|
|
ADD wp-config.php.template /app/code/wp-config.php.template
|
|
|
ADD start.sh /app/code/start.sh
|
|
@@ -11,7 +11,7 @@ ADD start.sh /app/code/start.sh
|
|
|
RUN mkdir -p /run/wordpress/sessions && \
|
|
|
ln -sf /run/wordpress/wp-config.php /app/code/wp-config.php
|
|
|
|
|
|
-RUN curl -o /app/code/wp https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
|
|
|
+RUN curl -o /app/code/wp https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
|
|
|
RUN chmod +x /app/code/wp
|
|
|
# https://github.com/wp-cli/wp-cli/issues/1164
|
|
|
RUN echo "<?php function wp_new_blog_notification() {} ?>" > /run/wordpress/disable-new-blog-notification.php
|