|
@@ -9,6 +9,7 @@ RUN apt-get update && \
|
|
|
RUN mkdir -p /app/code
|
|
|
WORKDIR /app/code
|
|
|
RUN curl -L http://wordpress.org/wordpress-4.9.5.tar.gz | tar -xz --strip-components 1 -f -
|
|
|
+RUN rm readme.html wp-admin/install.php wp-config-sample.php
|
|
|
RUN mv /app/code/wp-content /app/code/wp-content-vanilla && ln -s /app/data/wp-content /app/code/wp-content
|
|
|
RUN ln -s /app/data/htaccess /app/code/.htaccess
|
|
|
ADD wp-config.php.template /app/code/wp-config.php.template
|
|
@@ -19,7 +20,6 @@ RUN curl -L -o /app/code/wp https://github.com/wp-cli/wp-cli/releases/download/v
|
|
|
RUN chmod +x /app/code/wp
|
|
|
RUN /bin/echo -e "apache_modules:\n - mod_rewrite" > /app/code/wp-cli.yml
|
|
|
|
|
|
-
|
|
|
# Get the plugins
|
|
|
RUN curl -L -o /app/code/authLdap.zip https://github.com/heiglandreas/authLdap/archive/1.5.1.zip
|
|
|
# https://plugins.svn.wordpress.org/disable-wordpress-core-update/
|