2024-07-30 14:55:15 -04:00
|
|
|
FROM mediawiki:1.42.1
|
|
|
|
|
2024-07-31 16:02:12 -04:00
|
|
|
RUN apt update \
|
2024-07-31 22:57:28 -04:00
|
|
|
&& apt install -y unzip wget clamav clamav-daemon
|
2024-07-31 16:02:12 -04:00
|
|
|
|
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
|
|
|
|
|
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 22:54:42 -04:00
|
|
|
RUN git clone --depth 1 \
|
|
|
|
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscordRCFeed \
|
|
|
|
/var/www/html/extensions/DiscordRCFeed
|
|
|
|
|
2024-07-31 22:59:06 -04:00
|
|
|
RUN git clone --depth 1 \
|
|
|
|
https://gerrit.wikimedia.org/r/mediawiki/extensions/DismissableSiteNotice \
|
|
|
|
/var/www/html/extensions/DismissableSiteNotice
|
|
|
|
|
2024-08-01 13:29:55 -04:00
|
|
|
RUN git clone --depth 1 \
|
2024-08-01 13:58:49 -04:00
|
|
|
https://gerrit.wikimedia.org/r/mediawiki/extensions/cldr \
|
2024-08-01 13:29:55 -04:00
|
|
|
/var/www/html/extensions/cldr
|
|
|
|
|
2024-08-01 13:42:55 -04:00
|
|
|
RUN git clone --depth 1 \
|
|
|
|
https://gerrit.wikimedia.org/r/mediawiki/extensions/CheckUser \
|
|
|
|
/var/www/html/extensions/CheckUser
|
|
|
|
|
2024-08-01 13:44:20 -04:00
|
|
|
RUN git clone --depth 1 \
|
|
|
|
https://gerrit.wikimedia.org/r/mediawiki/extensions/CookieWarning \
|
|
|
|
/var/www/html/extensions/CookieWarning
|
|
|
|
|
2024-08-01 13:45:38 -04:00
|
|
|
RUN git clone --depth 1 \
|
|
|
|
https://gerrit.wikimedia.org/r/mediawiki/extensions/CreateUserPage \
|
|
|
|
/var/www/html/extensions/CreateUserPage
|
|
|
|
|
2024-08-01 13:46:41 -04:00
|
|
|
RUN git clone --depth 1 \
|
|
|
|
https://gerrit.wikimedia.org/r/mediawiki/extensions/Disambiguator \
|
|
|
|
/var/www/html/extensions/Disambiguator
|
|
|
|
|
2024-08-01 13:50:16 -04:00
|
|
|
RUN git clone --depth 1 \
|
|
|
|
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups \
|
|
|
|
/var/www/html/extensions/Popups
|
|
|
|
|
2024-07-31 20:33:49 -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
|
|
|
|
|
|
|
|
RUN wget https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/archive/refs/tags/v3.4.2.tar.gz \
|
|
|
|
&& tar -xvf v3.4.2.tar.gz \
|
|
|
|
&& mkdir -p /var/www/html/extensions/EmbedVideo \
|
|
|
|
&& mv mediawiki-extensions-EmbedVideo-3.4.2/* /var/www/html/extensions/EmbedVideo \
|
|
|
|
&& rm v3.4.2.tar.gz
|
|
|
|
|
2024-07-31 22:54:42 -04:00
|
|
|
# Install composer (AWS S3 extension)
|
2024-07-31 20:33:49 -04:00
|
|
|
RUN wget https://raw.githubusercontent.com/composer/getcomposer.org/76a7060ccb93902cd7576b67264ad91c8a2700e2/web/installer -O - -q | php -- --quiet \
|
|
|
|
&& mv composer.phar /usr/local/bin/composer
|
|
|
|
|
2024-07-31 16:02:12 -04:00
|
|
|
COPY composer.local.json /var/www/html/composer.local.json
|
2024-07-31 15:55:19 -04:00
|
|
|
|
2024-08-01 13:29:55 -04:00
|
|
|
RUN cd /var/www/html/extensions/cldr \
|
|
|
|
&& wget http://www.unicode.org/Public/cldr/latest/core.zip \
|
|
|
|
&& unzip core.zip -d core \
|
|
|
|
&& rm core.zip \
|
|
|
|
&& php rebuild.php \
|
|
|
|
&& cd -
|
|
|
|
|
2024-07-31 15:55:19 -04:00
|
|
|
RUN cd /var/www/html && composer update && cd -
|