diff --git a/Dockerfile b/Dockerfile index f283d1d..de83e6e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,8 +21,8 @@ RUN apt install wget \ && /tmp/scripts/mediawiki-ext-search.sh TimedMediaHandler REL1_41 | xargs wget -P /tmp/mediawiki_extensions \ && /tmp/scripts/mediawiki-ext-search.sh UserFunctions REL1_41 | xargs wget -P /tmp/mediawiki_extensions -RUN find /tmp/mediawiki_extensions -name "*.tar.gz" -exec sh -c 'tar -xzf {} -C /var/www/html/extensions && rm {}' \; \ - && find /tmp/mediawiki_skins -name "*.tar.gz" -exec sh -c 'tar -xzf {} -C /var/www/html/skins && rm {}' \; \ +RUN find /tmp/mediawiki_extensions -name "*.tar.gz" -exec sh -c 'tar -xzf {} -C /var/www/html/extensions' \; \ + && find /tmp/mediawiki_skins -name "*.tar.gz" -exec sh -c 'tar -xzf {} -C /var/www/html/skins' \; \ && find /tmp/mediawiki_override -type f -exec php /tmp/scripts/config_placeholder_replace.php "/tmp/config.json" "{}" \; \ && cp -R /tmp/mediawiki_override/* /var/www/html \ && chown www-data:www-data /var/www/html/extensions/ -R \