Add comments to Dockerfile pointing to Extension wiki pages

This commit is contained in:
Adam Goldsmith 2020-04-26 16:32:30 -04:00
parent 5bd81ce695
commit deba265400

View File

@ -9,40 +9,49 @@ COPY composer.local.json /var/www/html/
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
RUN cd /var/www/html/ && composer update --no-dev RUN cd /var/www/html/ && composer update --no-dev
# https://www.mediawiki.org/wiki/Extension:PluggableAuth
RUN git clone --depth 1 -b $MEDIAWIKI_BRANCH \ RUN git clone --depth 1 -b $MEDIAWIKI_BRANCH \
https://gerrit.wikimedia.org/r/mediawiki/extensions/PluggableAuth \ https://gerrit.wikimedia.org/r/mediawiki/extensions/PluggableAuth \
/var/www/html/extensions/PluggableAuth /var/www/html/extensions/PluggableAuth
# https://www.mediawiki.org/wiki/Extension:LDAPProvider
RUN git clone --depth 1 \ RUN git clone --depth 1 \
https://gerrit.wikimedia.org/r/mediawiki/extensions/LDAPProvider \ https://gerrit.wikimedia.org/r/mediawiki/extensions/LDAPProvider \
/var/www/html/extensions/LDAPProvider /var/www/html/extensions/LDAPProvider
# https://www.mediawiki.org/wiki/Extension:LDAPUserInfo
RUN git clone --depth 1 \ RUN git clone --depth 1 \
https://gerrit.wikimedia.org/r/mediawiki/extensions/LDAPUserInfo \ https://gerrit.wikimedia.org/r/mediawiki/extensions/LDAPUserInfo \
/var/www/html/extensions/LDAPUserInfo /var/www/html/extensions/LDAPUserInfo
# https://www.mediawiki.org/wiki/Extension:LDAPAuthentication2
RUN git clone --depth 1 \ RUN git clone --depth 1 \
https://gerrit.wikimedia.org/r/mediawiki/extensions/LDAPAuthentication2 \ https://gerrit.wikimedia.org/r/mediawiki/extensions/LDAPAuthentication2 \
/var/www/html/extensions/LDAPAuthentication2 /var/www/html/extensions/LDAPAuthentication2
# https://www.mediawiki.org/wiki/Extension:VisualEditor
RUN git clone --depth 1 -b $MEDIAWIKI_BRANCH \ RUN git clone --depth 1 -b $MEDIAWIKI_BRANCH \
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor.git \ https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor.git \
/var/www/html/extensions/VisualEditor \ /var/www/html/extensions/VisualEditor \
&& cd /var/www/html/extensions/VisualEditor \ && cd /var/www/html/extensions/VisualEditor \
&& git submodule update --depth 1 --init && git submodule update --depth 1 --init
# https://www.mediawiki.org/wiki/Extension:MobileFrontend
RUN git clone --depth 1 -b $MEDIAWIKI_BRANCH \ RUN git clone --depth 1 -b $MEDIAWIKI_BRANCH \
https://gerrit.wikimedia.org/r/mediawiki/extensions/MobileFrontend \ https://gerrit.wikimedia.org/r/mediawiki/extensions/MobileFrontend \
/var/www/html/extensions/MobileFrontend /var/www/html/extensions/MobileFrontend
# https://www.mediawiki.org/wiki/Extension:NativeSvgHandler
RUN git clone --depth 1 \ RUN git clone --depth 1 \
https://github.com/p12tic/NativeSvgHandler.git \ https://github.com/p12tic/NativeSvgHandler.git \
/var/www/html/extensions/NativeSvgHandler /var/www/html/extensions/NativeSvgHandler
# https://www.mediawiki.org/wiki/Extension:CodeMirror
RUN git clone --depth 1 -b $MEDIAWIKI_BRANCH \ RUN git clone --depth 1 -b $MEDIAWIKI_BRANCH \
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror \ https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror \
/var/www/html/extensions/CodeMirror /var/www/html/extensions/CodeMirror
# https://www.mediawiki.org/wiki/Extension:Widgets
RUN git clone --depth 1 -b $MEDIAWIKI_BRANCH \ RUN git clone --depth 1 -b $MEDIAWIKI_BRANCH \
https://gerrit.wikimedia.org/r/mediawiki/extensions/Widgets \ https://gerrit.wikimedia.org/r/mediawiki/extensions/Widgets \
/var/www/html/extensions/Widgets \ /var/www/html/extensions/Widgets \