check out submodules

This commit is contained in:
Adrian Malacoda 2017-07-17 00:18:33 -05:00
parent 9be356b5ca
commit 8154643e6b

View File

@ -18,7 +18,7 @@ RUN composer self-update
# Remove the old hello world app and grab Mediawiki source
RUN apt-get update && apt-get install -yq git && rm -rf /var/lib/apt/lists/*
RUN rm -fr /app && mv /var/www/html /var/www/w && git clone https://gerrit.wikimedia.org/r/p/mediawiki/core.git /app
RUN cd /app && git checkout -b $MW_VERSION origin/$MW_VERSION
RUN cd /app && git checkout -b $MW_VERSION origin/$MW_VERSION && git submodule update --init
# Install extensions
ADD add_extension.sh /add_extension.sh