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 \