MediaWiki/mediawiki/Dockerfile

34 lines
1.1 KiB
Docker

FROM mediawiki:1.42.1
RUN git clone --depth 1 \
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
RUN git clone --depth 1 \
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror \
/var/www/html/extensions/CodeMirror
RUN git clone --depth 1 \
https://gerrit.wikimedia.org/r/p/mediawiki/extensions/Elastica \
/var/www/html/extensions/Elastica
RUN git clone --depth 1 \
https://gerrit.wikimedia.org/r/p/mediawiki/extensions/CirrusSearch \
/var/www/html/extensions/CirrusSearch
RUN git clone --depth 1 \
https://gerrit.wikimedia.org/r/p/mediawiki/extensions/AdvancedSearch \
/var/www/html/extensions/AdvancedSearch
RUN apt update \
&& apt install -y unzip wget
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