install CheckUser from ExtensionDistributor instead of git
Some checks failed
Docker Build / Build and Push Images (push) Failing after 18s

This commit is contained in:
Seaswimmer 2024-08-01 14:13:33 -04:00
parent 3c7c1345c9
commit f1577cd764
Signed by: cswimr
GPG key ID: 3813315477F26F82
2 changed files with 7 additions and 4 deletions

1
mediawiki/CheckUser Submodule

@ -0,0 +1 @@
Subproject commit 22076b9dc420b74e0021d3d03ee5357bd5fe5dc6

View file

@ -39,10 +39,6 @@ RUN git clone --depth 1 \
https://gerrit.wikimedia.org/r/mediawiki/extensions/cldr \ https://gerrit.wikimedia.org/r/mediawiki/extensions/cldr \
/var/www/html/extensions/cldr /var/www/html/extensions/cldr
RUN git clone --depth 1 \
https://gerrit.wikimedia.org/r/mediawiki/extensions/CheckUser \
/var/www/html/extensions/CheckUser
RUN git clone --depth 1 \ RUN git clone --depth 1 \
https://gerrit.wikimedia.org/r/mediawiki/extensions/CookieWarning \ https://gerrit.wikimedia.org/r/mediawiki/extensions/CookieWarning \
/var/www/html/extensions/CookieWarning /var/www/html/extensions/CookieWarning
@ -71,6 +67,12 @@ RUN wget https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/arch
&& mv mediawiki-extensions-EmbedVideo-3.4.2/* /var/www/html/extensions/EmbedVideo \ && mv mediawiki-extensions-EmbedVideo-3.4.2/* /var/www/html/extensions/EmbedVideo \
&& rm v3.4.2.tar.gz && rm v3.4.2.tar.gz
RUN wget https://www.mediawiki.org/wiki/Special:ExtensionDistributor/CheckUser \
&& tar -xvf CheckUser \
&& mkdir -p /var/www/html/extensions/CheckUser \
&& mv CheckUser/* /var/www/html/extensions/CheckUser \
&& rm CheckUser
# Install composer (AWS S3 extension) # Install composer (AWS S3 extension)
RUN wget https://raw.githubusercontent.com/composer/getcomposer.org/76a7060ccb93902cd7576b67264ad91c8a2700e2/web/installer -O - -q | php -- --quiet \ RUN wget https://raw.githubusercontent.com/composer/getcomposer.org/76a7060ccb93902cd7576b67264ad91c8a2700e2/web/installer -O - -q | php -- --quiet \
&& mv composer.phar /usr/local/bin/composer && mv composer.phar /usr/local/bin/composer