@@ -61,26 +61,27 @@ bash clone-extension.sh Thanks ${WMF_BRANCH};\
6161bash clone-extension.sh LinkedWiki ${REL_BRANCH}
6262
6363# clone extensions not officially distributed by mediawiki
64- RUN git clone https://github.com/ProfessionalWiki/WikibaseLocalMedia.git WikibaseLocalMedia &&\
64+ RUN git clone --depth=1 https://github.com/ProfessionalWiki/WikibaseLocalMedia.git WikibaseLocalMedia &&\
6565rm -rf WikibaseLocalMedia/.git
6666
67- RUN git clone https://github.com/ProfessionalWiki/WikibaseExport.git WikibaseExport &&\
67+ RUN git clone --depth=1 https://github.com/ProfessionalWiki/WikibaseExport.git WikibaseExport &&\
6868rm -rf WikibaseExport/.git
6969
70- RUN git clone https://github.com/MaRDI4NFDI/MatomoAnalytics.git MatomoAnalytics &&\
70+ RUN git clone --depth=1 https://github.com/MaRDI4NFDI/MatomoAnalytics.git MatomoAnalytics &&\
7171rm -rf MatomoAnalytics/.git
7272
73- RUN git clone https://github.com/ProfessionalWiki/ExternalContent.git ExternalContent &&\
73+ RUN git clone --depth=1 https://github.com/ProfessionalWiki/ExternalContent.git ExternalContent &&\
7474rm -rf ExternalContent/.git
7575
76- RUN git clone https://github.com/SemanticMediaWiki/SemanticDrilldown.git SemanticDrilldown &&\
76+ RUN git clone --depth=1 https://github.com/SemanticMediaWiki/SemanticDrilldown.git SemanticDrilldown &&\
7777rm -rf SemanticDrilldown/.git
7878
79- RUN git clone https://github.com/wikimedia/mediawiki -b ${WMF_BRANCH} &&\
79+ # clone core
80+ RUN git clone --depth=1 https://github.com/wikimedia/mediawiki -b ${WMF_BRANCH} &&\
8081rm -rf mediawiki/.git
8182
8283# Clone Vector Skin (not included in the mediawiki repository)
83- RUN git clone https://github.com/wikimedia/mediawiki-skins-Vector -b ${WMF_BRANCH} Vector &&\
84+ RUN git clone --depth=1 https://github.com/wikimedia/mediawiki-skins-Vector -b ${WMF_BRANCH} Vector &&\
8485rm -rf Vector/.git
8586
8687
0 commit comments