MediaWiki/mediawiki/Dockerfile

43 lines
1.3 KiB
Text
Raw Normal View History

2024-07-30 14:55:15 -04:00
FROM mediawiki:1.42.1
2024-07-30 14:59:20 -04:00
RUN git clone --depth 1 \
2024-07-30 14:55:15 -04:00
https://gerrit.wikimedia.org/r/p/mediawiki/extensions/MobileFrontend \
/var/www/html/extensions/MobileFrontend
RUN git clone --depth 1 \
https://gitlab.com/hydrawiki/extensions/EmbedVideo.git \
/var/www/html/extensions/EmbedVideo
2024-07-31 15:55:15 -04:00
RUN git clone --depth 1 \
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror \
/var/www/html/extensions/CodeMirror
2024-07-30 14:59:20 -04:00
RUN git clone --depth 1 \
2024-07-30 14:55:15 -04:00
https://gerrit.wikimedia.org/r/p/mediawiki/extensions/Elastica \
/var/www/html/extensions/Elastica
2024-07-30 14:59:20 -04:00
RUN git clone --depth 1 \
2024-07-30 14:55:15 -04:00
https://gerrit.wikimedia.org/r/p/mediawiki/extensions/CirrusSearch \
/var/www/html/extensions/CirrusSearch
2024-07-30 15:22:37 -04:00
RUN git clone --depth 1 \
https://gerrit.wikimedia.org/r/p/mediawiki/extensions/AdvancedSearch \
/var/www/html/extensions/AdvancedSearch
2024-07-30 15:36:22 -04:00
2024-07-31 15:55:19 -04:00
RUN git clone --depth 1 \
https://github.com/edwardspec/mediawiki-aws-s3.git \
/var/www/html/extensions/AWS
2024-07-31 15:58:32 -04:00
ADD ./composer.local.json /var/www/html/composer.local.json
2024-07-31 15:55:19 -04:00
RUN cd /var/www/html && composer update && cd -
2024-07-30 15:37:10 -04:00
RUN apt update \
&& apt install -y unzip wget
2024-07-30 15:36:22 -04:00
RUN wget https://github.com/StarCitizenTools/mediawiki-skins-Citizen/archive/main.zip \
&& unzip main.zip \
&& mkdir -p /var/www/html/skins/Citizen \
&& mv mediawiki-skins-Citizen-main/* /var/www/html/skins/Citizen \
&& rm main.zip