From 07167268b4908efbf76c62c5bb89bb767301598a Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Thu, 29 Jun 2023 20:06:08 +0200 Subject: [PATCH] refs #3700 Upgrade Mediawiki to v1.39 --- mediawiki/Dockerfile | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/mediawiki/Dockerfile b/mediawiki/Dockerfile index c8d1668..62c1826 100644 --- a/mediawiki/Dockerfile +++ b/mediawiki/Dockerfile @@ -1,19 +1,14 @@ -FROM mediawiki:1.34.0 +FROM mediawiki:1.39.3 ENV GIT_URL https://gerrit.wikimedia.org/r/mediawiki ENV MW_DIR /var/www/html RUN cd "$MW_DIR/extensions" \ - && git clone $GIT_URL/extensions/LDAPProvider \ - && git clone $GIT_URL/extensions/PluggableAuth \ - && git clone $GIT_URL/extensions/LDAPAuthentication2 \ - && git clone -b REL1_34 $GIT_URL/extensions/VisualEditor \ - && (cd VisualEditor && git submodule update --init) \ - && 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 + && git clone --depth 1 -b REL1_39 $GIT_URL/extensions/LDAPProvider \ + && git clone --depth 1 -b REL1_39 $GIT_URL/extensions/LDAPAuthentication2 \ + && git clone --depth 1 -b REL1_39 $GIT_URL/extensions/PluggableAuth \ + && git clone --depth 1 -b REL1_39 $GIT_URL/extensions/MobileFrontend \ + && chown www-data:www-data -R * RUN apt-get update \ && apt-get install -y --no-install-recommends \