@@ -40,8 +40,8 @@ bash clone-extension.sh Math ${WMF_BRANCH};\
40
40
# Here, we store MaRDI-specific code.
41
41
bash clone-extension.sh MathSearch master;\
42
42
bash clone-extension.sh Nuke ${WMF_BRANCH};\
43
- bash clone -extension.sh OAuth ${WMF_BRANCH};\
44
- bash clone -extension.sh Popups ${WMF_BRANCH};\
43
+ bash -extension.sh OAuth ${WMF_BRANCH};\
44
+ bash -extension.sh Popups ${WMF_BRANCH};\
45
45
bash clone-extension.sh Scribunto ${WMF_BRANCH};\
46
46
bash clone-extension.sh TemplateStyles ${WMF_BRANCH};\
47
47
bash clone-extension.sh UniversalLanguageSelector ${WMF_BRANCH};\
@@ -61,26 +61,27 @@ bash clone-extension.sh Thanks ${WMF_BRANCH};\
61
61
bash clone-extension.sh LinkedWiki ${REL_BRANCH}
62
62
63
63
# 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 &&\
65
65
rm -rf WikibaseLocalMedia/.git
66
66
67
- RUN git clone https://github.com/ProfessionalWiki/WikibaseExport.git WikibaseExport &&\
67
+ RUN git clone --depth=1 https://github.com/ProfessionalWiki/WikibaseExport.git WikibaseExport &&\
68
68
rm -rf WikibaseExport/.git
69
69
70
- RUN git clone https://github.com/MaRDI4NFDI/MatomoAnalytics.git MatomoAnalytics &&\
70
+ RUN git clone --depth=1 https://github.com/MaRDI4NFDI/MatomoAnalytics.git MatomoAnalytics &&\
71
71
rm -rf MatomoAnalytics/.git
72
72
73
- RUN git clone https://github.com/ProfessionalWiki/ExternalContent.git ExternalContent &&\
73
+ RUN git clone --depth=1 https://github.com/ProfessionalWiki/ExternalContent.git ExternalContent &&\
74
74
rm -rf ExternalContent/.git
75
75
76
- RUN git clone https://github.com/SemanticMediaWiki/SemanticDrilldown.git SemanticDrilldown &&\
76
+ RUN git clone --depth=1 https://github.com/SemanticMediaWiki/SemanticDrilldown.git SemanticDrilldown &&\
77
77
rm -rf SemanticDrilldown/.git
78
78
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} &&\
80
81
rm -rf mediawiki/.git
81
82
82
83
# 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 &&\
84
85
rm -rf Vector/.git
85
86
86
87
0 commit comments