refs #3700 Upgrade Mediawiki to v1.39

This commit is contained in:
Juan Ferrer 2023-06-29 20:06:08 +02:00
parent 0e8a548b24
commit 07167268b4
1 changed files with 6 additions and 11 deletions

View File

@ -1,19 +1,14 @@
FROM mediawiki:1.34.0 FROM mediawiki:1.39.3
ENV GIT_URL https://gerrit.wikimedia.org/r/mediawiki ENV GIT_URL https://gerrit.wikimedia.org/r/mediawiki
ENV MW_DIR /var/www/html ENV MW_DIR /var/www/html
RUN cd "$MW_DIR/extensions" \ RUN cd "$MW_DIR/extensions" \
&& git clone $GIT_URL/extensions/LDAPProvider \ && git clone --depth 1 -b REL1_39 $GIT_URL/extensions/LDAPProvider \
&& git clone $GIT_URL/extensions/PluggableAuth \ && git clone --depth 1 -b REL1_39 $GIT_URL/extensions/LDAPAuthentication2 \
&& git clone $GIT_URL/extensions/LDAPAuthentication2 \ && git clone --depth 1 -b REL1_39 $GIT_URL/extensions/PluggableAuth \
&& git clone -b REL1_34 $GIT_URL/extensions/VisualEditor \ && git clone --depth 1 -b REL1_39 $GIT_URL/extensions/MobileFrontend \
&& (cd VisualEditor && git submodule update --init) \ && chown www-data:www-data -R *
&& git clone $GIT_URL/extensions/MobileFrontend \
&& chown www-data:www-data -R * \
&& cd "$MW_DIR/skins" \
&& git clone $GIT_URL/skins/MinervaNeue \
&& chown www-data:www-data -R MinervaNeue
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y --no-install-recommends \ && apt-get install -y --no-install-recommends \