Closes #6 Reviewed-on: #7 Co-authored-by: stuzer05 <stuzer05@stuzer.link> Co-committed-by: stuzer05 <stuzer05@stuzer.link>
This commit is contained in:
parent
d7261fc653
commit
379492f5bd
14
Dockerfile
14
Dockerfile
@ -9,9 +9,21 @@ RUN apt update && apt install --yes wget gpg \
|
||||
&& echo "deb [signed-by=/usr/share/keyrings/elasticsearch-keyring.gpg] https://artifacts.elastic.co/packages/8.x/apt stable main" | tee /etc/apt/sources.list.d/elastic-8.x.list \
|
||||
&& apt update && apt install elasticsearch
|
||||
|
||||
# download extensions
|
||||
RUN apt install wget \
|
||||
&& wget -P /tmp/mediawiki_extensions https://extdist.wmflabs.org/dist/extensions/AdvancedSearch-REL1_39-6533553.tar.gz \
|
||||
&& wget -P /tmp/mediawiki_extensions https://extdist.wmflabs.org/dist/extensions/CirrusSearch-REL1_39-da1a983.tar.gz \
|
||||
&& wget -P /tmp/mediawiki_extensions https://extdist.wmflabs.org/dist/extensions/DynamicSidebar-REL1_39-b1e2d2a.tar.gz \
|
||||
&& wget -P /tmp/mediawiki_extensions https://extdist.wmflabs.org/dist/extensions/Elastica-REL1_39-aa4dc98.tar.gz \
|
||||
&& wget -P /tmp/mediawiki_extensions https://extdist.wmflabs.org/dist/extensions/MobileFrontend-REL1_39-cb0009c.tar.gz \
|
||||
&& wget -P /tmp/mediawiki_extensions https://extdist.wmflabs.org/dist/extensions/Mpdf-REL1_39-1a6bb53.tar.gz \
|
||||
&& wget -P /tmp/mediawiki_extensions https://extdist.wmflabs.org/dist/extensions/Popups-REL1_39-6c06284.tar.gz \
|
||||
&& wget -P /tmp/mediawiki_extensions https://extdist.wmflabs.org/dist/extensions/TimedMediaHandler-REL1_39-9a51d8e.tar.gz \
|
||||
&& wget -P /tmp/mediawiki_extensions https://extdist.wmflabs.org/dist/extensions/UserFunctions-REL1_39-5414085.tar.gz
|
||||
|
||||
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 \
|
||||
&& rm -R /tmp/*
|
||||
&& rm -R /tmp/*
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user