Compare commits
11 commits
0e0a33fba2
...
f6637f3955
Author | SHA1 | Date | |
---|---|---|---|
f6637f3955 | |||
547bdb93f2 | |||
74ccc2b265 | |||
6992c2199d | |||
d5befe1b37 | |||
50ee0ebc1a | |||
517b0eb413 | |||
f6c8d4e0e9 | |||
f694e35818 | |||
69f9391bcb | |||
f66a24e5ee |
1 changed files with 49 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
FROM mediawiki:1.42.1
|
FROM mediawiki:1.42.1
|
||||||
|
|
||||||
RUN apt update \
|
RUN apt update \
|
||||||
&& apt install -y unzip wget
|
&& apt install -y unzip wget clamav clamav-daemon
|
||||||
|
|
||||||
RUN git clone --depth 1 \
|
RUN git clone --depth 1 \
|
||||||
https://gerrit.wikimedia.org/r/p/mediawiki/extensions/MobileFrontend \
|
https://gerrit.wikimedia.org/r/p/mediawiki/extensions/MobileFrontend \
|
||||||
|
@ -27,6 +27,46 @@ RUN git clone --depth 1 \
|
||||||
https://github.com/edwardspec/mediawiki-aws-s3.git \
|
https://github.com/edwardspec/mediawiki-aws-s3.git \
|
||||||
/var/www/html/extensions/AWS
|
/var/www/html/extensions/AWS
|
||||||
|
|
||||||
|
RUN git clone --depth 1 \
|
||||||
|
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscordRCFeed \
|
||||||
|
/var/www/html/extensions/DiscordRCFeed
|
||||||
|
|
||||||
|
RUN git clone --depth 1 \
|
||||||
|
https://gerrit.wikimedia.org/r/mediawiki/extensions/DismissableSiteNotice \
|
||||||
|
/var/www/html/extensions/DismissableSiteNotice
|
||||||
|
|
||||||
|
RUN git clone --depth 1 \
|
||||||
|
git clone https://gerrit.wikimedia.org/r/mediawiki/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 \
|
||||||
|
https://gerrit.wikimedia.org/r/mediawiki/extensions/CookieWarning \
|
||||||
|
/var/www/html/extensions/CookieWarning
|
||||||
|
|
||||||
|
RUN git clone --depth 1 \
|
||||||
|
https://gerrit.wikimedia.org/r/mediawiki/extensions/CreateUserPage \
|
||||||
|
/var/www/html/extensions/CreateUserPage
|
||||||
|
|
||||||
|
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/mediawiki/extensions/Disambiguator \
|
||||||
|
/var/www/html/extensions/Disambiguator
|
||||||
|
|
||||||
|
RUN git clone --depth 1 \
|
||||||
|
https://gerrit.wikimedia.org/r/mediawiki/extensions/LoginNotify \
|
||||||
|
/var/www/html/extensions/LoginNotify
|
||||||
|
|
||||||
|
RUN git clone --depth 1 \
|
||||||
|
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups \
|
||||||
|
/var/www/html/extensions/Popups
|
||||||
|
|
||||||
RUN wget https://github.com/StarCitizenTools/mediawiki-skins-Citizen/archive/main.zip \
|
RUN wget https://github.com/StarCitizenTools/mediawiki-skins-Citizen/archive/main.zip \
|
||||||
&& unzip main.zip \
|
&& unzip main.zip \
|
||||||
&& mkdir -p /var/www/html/skins/Citizen \
|
&& mkdir -p /var/www/html/skins/Citizen \
|
||||||
|
@ -39,10 +79,17 @@ 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
|
||||||
|
|
||||||
# Install composer
|
# 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
|
||||||
|
|
||||||
COPY composer.local.json /var/www/html/composer.local.json
|
COPY composer.local.json /var/www/html/composer.local.json
|
||||||
|
|
||||||
|
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 -
|
||||||
|
|
||||||
RUN cd /var/www/html && composer update && cd -
|
RUN cd /var/www/html && composer update && cd -
|
||||||
|
|
Loading…
Reference in a new issue